You can get the buttons easily enough in Delphi 5 by iterating over the Controls
property of the radio group. But then what are you going to do to make them wrap? The Delphi 5 radio button does not have a WordWrap
property.
If I were you I would add a bunch of radio buttons to a group box rather than use a radio group. This gives you control over exactly what class of radio button you create. Then derive your own radio button class and implement the WordWrap
property. To do this you need to add the BS_MULTILINE
style in CreateParams
, just as modern Delphi versions do.
Of course, the method outlined in your answer would work too!