Sign in Join
FPDoc Onlineexperiment

TCustomSpeedButton.AllowAllUp property

Member of TCustomSpeedButtonpublicIn unit Buttons

Indicates if all buttons in a group can be in an up state.

Declaration

pascal
property AllowAllUp: Boolean read FAllowAllUp write SetAllowAllUp default False;

Description

AllowAllUp is a Boolean property which indicates whether all speed buttons with the same GroupIndex value can be in the "up" state. The default value for the property is False, and means that one of the grouped speed buttons must have its Down property set to True when GroupIndex has a non-zero value.

Changing the value for the property causes a button pressed event to be sent to the Parent control (when assigned) and the Down property is toggled and updated for the new property value.

Set GroupIndex to a value other than 0 (zero) to use AllowAllUp when a mouse button or an accelerator key is handled for the control.

See also

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