TGRadioGroup

From Gestinux Wiki
Jump to navigation Jump to search

This control is a TRadioGroup, with a TLabel to display the caption and a Translate procedure, as in all other data entry components

There is as many column as item, some they are displayed horizontally.

Fill the Items property as usual. You will have, in general, to override de Translate procedure of the TGForm containing this TGRadioGroup, to fill items with appropriate translations, for the current language.

Use the ItemIndex property to set or get the selected item.

Note that this component works fine for standard heights (from 30 to 50) in Windows or Linux GTK2. With other heights, display might be not good, due to some internal issues in the widgetsets. You are welcome if you can improve this !


Other data entry components