On 4/8/16, Alan Corey <alan01...@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 -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus