TCustomUpDown.Click procedure
Handles a mouse click on a speed button in the control.
Declaration
procedure Click(Button: TUDBtnType); virtual; overloadArguments
Button | Identifies the button clicked on the control. |
Description
Click is an overloaded method in
TCustomUpDown used to
respond to a mouse click on the speed button specified in Button. Click
ensures that the button click is applied to the value in Position. It uses the
values in Increment, Min, and Max to validate and range limit the new value
according to the Button clicked on the control.
Click calls CanChange to determine whether the new value can be applied to the Position property. If CanChange returns False, the new value is not applied. If it returns True, the value is Position is updated and the OnClick event handler is signalled (when assigned).
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
