Posted on 2002-05-22
I'm trying to display some data on a form. Each data entry has similar properties (a label, and edit box, a checkbox and some hidden string, boolean and integer info).
I would like to create a dyanmic array of components. Each array element should have a Label, an Edit Box and a Checkbox, and some variables (such as boolean and integer variables). I would like to make it so that I can display as many or as few of these "components" as I need on the form.
I'm assuming I have to create my own class, and create an array of them, but how do I go about doing that (syntactically). I've been having some troubles especially with the creation of the objects.