Forum Overview :: Cetka
 
This actually sounds like a valid question by Entropy Stew 07/02/2014, 10:31am PDT
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 something else that contains the controls at design time, like a form, and add the controls to the TList from there.

http://stackoverflow.com/a/1218066

-/ES/-
PREVIOUS NEXT REPLY QUOTE
 
Update by Commander Tansin A. Darcos 06/26/2014, 6:11am PDT NEW
    Re: Update by Ice Cream Jonsey 06/26/2014, 7:29am PDT NEW
    More Details by Commander Tansin A. Darcos 06/26/2014, 1:53pm PDT NEW
    Having to simulate VB with your Pascal code: SIGNS YOU DONE FUCKED UP NT by keep at it, though :) 06/26/2014, 5:00pm PDT NEW
        I have not "fucked up" and you have no idea of what you're talking about by Commander Tansin A. Darcos 06/27/2014, 2:03pm PDT NEW
        This actually sounds like a valid question by Entropy Stew 07/02/2014, 10:31am PDT NEW
    Re: Update by Hans Clastorp 06/27/2014, 4:57pm PDT NEW
        Re: Update by Commander Tansin A. Darcos 06/28/2014, 4:28am PDT NEW
            Re: Update by Hans Clastorp 06/28/2014, 9:06am PDT NEW
                Re: Update by Commander Tansin A. Darcos 06/29/2014, 5:23pm PDT NEW
                    Diagnosed 86% chance of Asperger's NT by The Don Rogers Show, 7/1/14 07/02/2014, 8:53am PDT NEW
                    You're an idiot. by Eurotrash 07/02/2014, 2:08pm PDT NEW
                        Prove it; you're not giving me anything at all by Commander Tansin A. Darcos 07/03/2014, 6:03am PDT NEW
                            Jesus Christ, is he STILL obsessed with me? What a maniac! NT by Ray Gordon 07/03/2014, 7:41am PDT NEW
                            Your posts make you look like a crazy person. by pinback 07/03/2014, 7:49am PDT NEW
                            "It seems like they're deflecting; they don't want to admit their own mental ill by std::overflow_error 07/03/2014, 8:18am PDT NEW
                            Re: Prove it; you're not giving me anything at all by Mysterio 07/03/2014, 9:08am PDT NEW
                                Re: Prove it; you're not giving me anything at all by Entropy Stew 07/03/2014, 5:45pm PDT NEW
                                Re: Prove it; you're not giving me anything at all by Commander Tansin A. Darcos 07/08/2014, 12:12am PDT NEW
                                    Absolutely correct sir! by Eurotrash 07/08/2014, 1:43am PDT NEW
                                    Re: Prove it; you're not giving me anything at all by Mysterio 07/08/2014, 3:32am PDT NEW
                            This is a waste of time (well it's fucking hilarious), but... by Eurotrash 07/03/2014, 1:48pm PDT NEW
                        I like to imagine that TDARCOS is a rich, successful, and well-adjusted guy by blackwater 07/03/2014, 11:51pm PDT NEW
                        Re: You're an idiot. by Roop 07/04/2014, 6:24pm PDT NEW
                    You're the coward, shithead. by This is a healing moment for you 07/03/2014, 8:14am PDT NEW
 
powered by pointy