[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Event handler signalled prior to changing the value in the Position property.
Source position: comctrls.pp line 1996
protected property TCustomUpDown.OnChanging : TUDChangingEvent |
OnChanging is a TUDChangingEvent 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.
OnChanging is signalled (when assigned) from CanChange, and is used to get the return value for the method. It allows the application to accept or reject a change to Position using logic specific to the application.
Use OnChangingEx to implement an event handler which examines the new property value and direction (increase or decrease) for the changed value.
|
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 to determine if the control can change the value in the Position property. |
|
|
Specifies an event handler signalled prior to changing the value in a TUpDown control. |
Version 4.0 | Generated 2025-05-03 | Home |