Thank you so much. That certainly was elegant way to get rid of objects on the Panel.
Regards TFE http://totallyfreeenergy.zxq.net --- In [email protected], Theodoros Bebekis <teo.bebe...@...> wrote: > > O/H totallyfreeenergy Ýãñáøå: > > > > > > Thanks-a-lot. I did forget about that :P Now it is all working very > > well. I am surprised that the groupbox or Panel don't have a function to > > clear all items we put on them. Something like items.free. I had to free > > the panel and then re-create the panel again to throw out the components > > i put on them. > > > > while Panel.ControlCount > 0 do > Panel.Controls[0].Free; > > > > -- > Regards > Theo > ------------------------ > Theo Bebekis > Thessaloniki, Greece > ------------------------ > C# and Delphi tutorials at http://teo.bebekis.googlepages.com/ > ------------------------ > Greek_Delphi_Prog : a greek Delphi list at > http://groups.yahoo.com/group/Greek_Delphi_Prog > CSharpDotNetGreek : a greek C# and .Net list at > http://groups.yahoo.com/group/CSharpDotNetGreek > atla_custom : an ALTEC Atlantis Customization list at > http://groups.yahoo.com/group/atla_custom > ------------------------ >

