Hey,
I know people will be wondering why I even want to do this, but first let me explain.
I am developing a database which is capturing date/time of events taking place, and I have incorporated the drag/drop functionality which I found on a thread on this site.
The Drag and drop allows the user to drag and drop labels any where around the form. I have made it so that when the label is in certain areas of the form it creates a new line in a table recording the appropriate data.
What I want however is to have an endless stream of labels available to me, so I want to make it dynamic. So when you pick up the first label it will create another label under it so i can have an infinite amount of objects in my database. I need it to do this in run-time.
Currently I have 7 labels statically in my form for testing purposes.
Does anyone know a way in which I can dynamically create labels?
Cheers
I know people will be wondering why I even want to do this, but first let me explain.
I am developing a database which is capturing date/time of events taking place, and I have incorporated the drag/drop functionality which I found on a thread on this site.
The Drag and drop allows the user to drag and drop labels any where around the form. I have made it so that when the label is in certain areas of the form it creates a new line in a table recording the appropriate data.
What I want however is to have an endless stream of labels available to me, so I want to make it dynamic. So when you pick up the first label it will create another label under it so i can have an infinite amount of objects in my database. I need it to do this in run-time.
Currently I have 7 labels statically in my form for testing purposes.
Does anyone know a way in which I can dynamically create labels?
Cheers