[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Buttons' (#lcl)

TCustomSpeedButton.AllowAllUp

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

Declaration

Source position: buttons.pp line 414

public property TCustomSpeedButton.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

TCustomSpeedButton.GroupIndex

  

Identifies the group to which the speed button control belongs.

TCustomSpeedButton.Down

  

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

TCustomSpeedButton.MouseUp

  

Signals the OnMouseUp handler.

TCustomSpeedButton.DialogChar

  

Performs actions needed to handle an accelerator key for the control.

TControl.Parent

  

The control within which the control is shown.


Version 3.2 Generated 2024-02-25 Home