Sign in Join
FPDoc Onlineexperiment

TUpDown.OnClick property

Member of TUpDownpublishedIn unit ComCtrls

Event handler signalled when a button on the control is clicked.

Declaration

pascal
property OnClick:;

Description

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.

This description is the one of ComCtrls.TCustomUpDown.OnClick.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.