title: Problem with RadioGroup.ControlCount in Delphi 2010
body: <p>I'd like to set RadioButton properties in runtime in procedure InitRadioGroup(). 
  It fails because RadioGroup.ControlCount is 0, although there are 3 RadioButtons in RadioGroup. </p>
  
  <p>What is wrong in D2010 RadioGroup? 
  Same code works fine in Delphi 2007.</p>
  
  <pre><code>procedure InitRadioGroup(RadioGroup: TRadioGroup);
  var
    i: integer;
    RadioButton: TRadioButton;
  begin
    for i := 0 to RadioGroup.ControlCount - 1 do
    begin
      RadioButton := (RadioGroup.Controls[i] as TRadioButton);
  
      RadioButton.ParentColor := False;
      RadioButton.ParentFont  := False;
      RadioButton.Font.Style  := [];
  end;
  </code></pre>