Sign in Join
FPDoc Onlineexperiment

TSpeedButton.Down property

Member of TSpeedButtonpublishedIn unit Buttons

Indicates if the button has been set to the Down state.

Declaration

pascal
property Down:;

Description

Down is a Boolean property which indicates whether the button control is in the down (or pressed) state. The default value for the property is False. Changing the value for the property causes the control to be redrawn.

The value in Down is toggled in the DialogChar method when ShowAccelChar has been enabled and the accelerator key in Caption is received for the control. This also calls the Click method to execute the OnClick event handler or the action for the control.

Down is used in the UpdateState method, along with GroupIndex and MouseInControl, to determine the current TButtonState for the control.

This description is the one of Buttons.TCustomSpeedButton.Down.

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