At 04:15 PM 28/02/2006, Alan Colburn wrote:

>The code works fine, and it's simple. The problem is that it's slow. On my
>machine I can watch each RadioGroup be cleared, one at a time, before items
>are added in.
>
>Do you have any ideas about a faster way to do this?

HI Alan,

Why not create a whole new radiogroup and add everything to it, then 
free the old one and place the new one.  I'm thinking that the form 
updating might be slowing things down, as well as the radiogroup 
firing any events associated with clicking / selecting items every 
time you clear or add a new item.

Just a thought.

Cheers,
Chris.



_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to