Forum Overview
::
Cetka
::
This actually sounds like a valid question
[quote name="Entropy Stew"]Not a difficult question, though, what with the advent of Google. It sounds to me like the problem is that VB lets you group controls together at design time whereas Delphi/FreePascal does not. This would mean writing a big wad of boilerplate to add 100 controls to a TList (or whatever) since you have to refer to each one specifically by name, which is ugly. It looks like the correct way to do it in Delphi is to iterate through <i>something else</i> that contains the controls at design time, like a form, and add the controls to the TList from there. <a href="http://stackoverflow.com/a/1218066">http://stackoverflow.com/a/1218066</a> -/ES/-[/quote]