Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxSpeedButtonOptions.AllowAllUp Property

Specifies the behavior of the button in a group.

#Declaration

Delphi
property AllowAllUp: Boolean read; write; default False;

#Property Value

Type Default
Boolean False

#Remarks

This property is in effect for group buttons – the buttons whose GroupIndex property is set to a value greater than 0, specifying the group by its index. Normally, if any group button is pressed, pressing it or switching its Down property to False does nothing at runtime – the button remains pressed until another button in the group is pressed. To remove this limitation and allow the pressed button to return to the normal state, set the AllowAllUp property to True. Since the AllowAllUp property value is synchronized across all buttons in the group, you can access any of them to switch the value. If the AllowAllUp property is set to False, at least one button is always pressed in the group. Note that you can set the Down property to False at design time regardless of the AllowAllUp property setting if the button Action property is unassigned. Refer to the Down property description to learn more.

The AllowAllUp property is similar to the AllowAllUp property of standard VCL TSpeedButton controls. To mimic the behavior of these controls, disable the CanBeFocused option.

The default value of the AllowAllUp property is False.

See Also