Jul 26, 2002 #1 Guest_imported New member Joined Jan 1, 1970 Messages 0 Hello all , is there any way of doing an array of labels ? TIA Thor
Jul 26, 2002 #2 cyprus106 Programmer Joined Apr 30, 2001 Messages 654 sure, TLabel *lbl[50]; will allot you 50 labels. then you say something like: lbl[1] = new TLabel(this); lbl[1]->Parent = this; make sure you have the 'this' in there or the label will not be visible, no matter what you do. Cyprus Upvote 0 Downvote
sure, TLabel *lbl[50]; will allot you 50 labels. then you say something like: lbl[1] = new TLabel(this); lbl[1]->Parent = this; make sure you have the 'this' in there or the label will not be visible, no matter what you do. Cyprus