[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Event handler signalled when a button on the control is clicked.
Source position: comctrls.pp line 1998
protected property TCustomUpDown.OnClick : TUDClickEvent |
OnClick is a TUDClickEvent property with the event handler signalled when a button on the control has been clicked. A Button argument is passed to the event handler to indicate which button, increment or decrement, was clicked on the control.
OnClick is signalled from the Click method. It occurs after the new property value has been validated and range limited using Min and Max. It also occurs after CanChange has been called to determine if the new property value can be applied to Position. OnClick occurs immediately after the new value has been assigned to the Position property.
|
Handles a mouse click on a speed button in the control. |
|
|
The largest value allowed in the Position property. |
|
|
The smallest value allowed in the Position property. |
|
|
The current position (or value) for the control as a SmallInt type. |
|
|
Specifies an event handler signalled for a button click on a TUpDown control. |
|
|
Represents the buttons used in a TCustomUpDown control. |
Version 4.0 | Generated 2025-05-03 | Home |