Hi,
For a new component I'm designing, I create a TRadioGroup at runtime and place it on a panel.
Now the radiogroup holds two items in two columns.
The item "captions" are resource strings as is the RadioGroup's caption. These then may be altered by translations.
Now I want to "sculpt" the RadioGroup so that is is as small as possible (widht, height), whilst ensuring that all captions are still readable.
So, I thougth: I need to know the width and height of each item, including the radiobutton, the height of the radiogroup.caption etc, all OS independent.
This is where I get stuck.
TRadioGroup AFAIK provides no info about that.
Anybody got some suggestions as on how to approach this?
Bart