OnGetCode event
property TOgCodeBase.OnGetCode : TGetCodeEvent
TGetCodeEvent = procedure(Sender : TObject; var Code : TCode) of object;
OnGetCode event property TOgCodeBase.OnGetCode : TGetCodeEvent TGetCodeEvent = procedure(Sender : TObject; var Code : TCode) of object; |
OnGetCode defines an event handler that is called to get the release code.
Sender is the instance of the release code component. Code is the TCode value associated with this component. Release codes are normally stored in a file or the registry. In some cases, the release code can be stored in the resource. To do this, set the StoreCode property to True.