tags:

views:

400

answers:

2

How I can generate a random new GUID inside of the Dephi IDE?

I am using Delphi 2007.

+20  A: 

Just press Ctrl + Shift + G

RRUZ
Thanks very much..
Salvador
+1 for pointing out the < kbd > formatting :)
gabr
+7  A: 

Ctrl+Shift+G will place a new GUID at the current position in the editor.

It's formatted for use as an interface IID, i.e. with enclosing square brackets - [] - , but once you've got the GUID in the text editor you can do whatever you want with it - Copy/Cut it to the clipboard etc

Deltics