[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Specifies an event handler signalled prior to changing the value in a TUpDown control.
Source position: comctrls.pp line 1898
type TUDChangingEvent = procedure( |
Sender: TObject; |
var AllowChange: Boolean |
) of object; |
Sender |
|
Object (TCustomUpDown) for the event. |
AllowChange |
|
Indicates whether the value change can be applied to the TUpdown control. Return False to prevent the change to the control value. |
TUDChangingEvent allows an application to control whether a pending change to the value in TUpDown can be applied to the control. Set the AllowChange argument to False in the handler routine to prevent the change from being applied to the control.
TUDChangingEvent is the type used to implement the OnChanging property in TUpDown.
Use TUDChangingEventEx and OnChangingEx for the event which includes the new value for the control and the direction in which the value will be changed.
|
Event handler signalled prior to changing the value in the Position property. |
|
|
Event handler signalled to determine if the control can change the value in the Position property. |
|
|
Event handler signalled prior to changing the value in the Position property. |
|
|
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 3.2 | Generated 2024-02-25 | Home |