Event handler signalled to determine if the control can change the value in the Position property.
Source position: comctrls.pp line 1995
protected property TCustomUpDown.OnChangingEx : TUDChangingEventEx |
OnChangingEx is a TUDChangingEventEx property with the event handler signalled prior to setting a new value for the Position property. The handler include a Boolean AllowChange argument which indicates if a change to the Position property is allowed in the control. Setting AllowChange to False in the handler routine prevents a change from being applied to the property value.
OnChangingEx also includes arguments with new value for the Position property and whether the change is an increase or decrease to the value.
OnChangingEx is signalled (when assigned) from CanChange, and is used to get the return value for the method.
Use OnChanging to implement an event handler which uses logic not based on the proposed new value for the Position property.
|
Indicates whether a change using the control can be applied. |
|
|
The current position (or value) for the control as a SmallInt type. |
|
|
Event handler signalled prior to changing the value in the Position property. |
|
|
Specifies an event handler signalled prior to changing the value in a TUpDown control. |
CT Web help |
CodeTyphon Studio |