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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The
gboGroupStyleoption in theTButtonGroup.ButtonOptionsproperty has nothing to do withGroupIndexas it’s known e.g. fromTSpeedButton.Setting of the
gboGroupStyleoption toTrueallows you to:TButtonGroup.ItemIndexproperty, so you can predefine which button will be focused as default, nothing coolTGrpButtonItem.OnClickevent of the button item (if assigned), perform its action, or fire theTButtonGroup.OnButtonClickedeventI agree the name of this is quite misleading, but that’s what I found in the source code from Delphi-XE2.