The help indicates that adding gboGroupStyle
to the ButtonOptions
on a TButtonGroup:
"Specifies that the buttons should inherit the group style that is set on the container."
But this explanation still leaves me lost - any ideas?
The gboGroupStyle
option in the TButtonGroup.ButtonOptions
property has nothing to do with GroupIndex
as it's known e.g. from TSpeedButton
.
Setting of the gboGroupStyle
option to True
allows you to:
TButtonGroup.ItemIndex
property, so you can predefine which button will be focused as default, nothing coolTGrpButtonItem.OnClick
event of the button item (if assigned), perform its action, or fire the TButtonGroup.OnButtonClicked
eventI agree the name of this is quite misleading, but that's what I found in the source code from Delphi-XE2.