radio button - Problem with RadioGroup.ControlCount in Delphi 2010 -


I want to set the radio button property in the InitRadioGroup () process in runtime. This fails because RadioGroup.ControlCount is 0, although there are 3 radioburts in the radio group.

What is wrong with the D 2010 Radio Group? The same code works well in Delphi 2007.

  Process InitRadioGroup (RadioGroup: TRADIOGroup); Var i: integer; Radiobutton: TrendBooten; I: Start for: 0 = radio group. Control Card - 1 Start the Radio Button: = (Radio Group. Control [i] as TreadObutton); Radiobutan Spinach Collar: = Wrong; Radio button Parent Font: = Incorrect; Radio button Font Style: = []; End;  

I think the radio group is not showing up when your process is called Then you can not make radio boots. Call

RadioGroup.HandleNeeded to fix it for you.


Comments

Popular posts from this blog

objective c - iPhone and it's wireless area -

unix - Listing all shared memory segments used by a process on AIX5.3+ -

tsql - Correct sql/hql query (aggregate in where clause) -