OnChangeCode event
property TOgUsageCode.OnChangeCode : TChangeCodeEvent
TChangeCodeEvent = procedure(Sender : TObject; Code : TCode) of object;
OnChangeCode event property TOgUsageCode.OnChangeCode : TChangeCodeEvent TChangeCodeEvent = procedure(Sender : TObject; Code : TCode) of object; |
OnChangeCode defines an event handler that is called when a release code changes.
This event is fired after the release code is changed via a call to Decrease, either directly or automatically (if the AutoDecrease property is True).
Sender is the instance of the release code component. Code is the new release code value.
The release code should be saved in the INI file or the registry.
See also: AutoDecrease, Decrease