[Lazarus] Suggestion for TRadioGroup documentation

Bart bartjunk64 at gmail.com
Fri Apr 8 16:42:36 CEST 2016


On 4/8/16, Alan Corey <alan01346 at gmail.com> wrote:

.  Creating a TRadioGroup as
> a container then adding TRadioButtons to it does nothing useful,
> ItemIndex is always -1.  Change Parent doesn't seem to fix it.  It
> seems like that worked in Delphi, I rarely used string lists.
>
> To use ItemIndex you have to populate the TRadioGroup using strings.

This is as it has always been, and as it was even in the Delphi 3 days.
Use the component in the way it is designed to work.
Why you would even drop individual radiobuttons on a TRadioGroup is beyond me.

Bart




More information about the Lazarus mailing list