Hello,
this is what I'm trying to achieve and I don't know how:
Based on a recordset (let's say entries in a table), I would like to create a graphical user interface, that shows a box/textbox/commandbuttom (actually an appropriate) at a certain position in the form for each record. The position of the box on the form is determined by data in the record. I wand to move the box around the form and with the new position update the data within the record (Think of something similar as the appointment-boxes in an Outlook-Agenda).
Now, I can generate one box manually, and with the Mouse-Down/Mouse-Move/Mouse-Up events do exactly that for one particular box. I could also imagine, creating a box for every record and do this to those boxes.
However, the problem is that every single box needs to have the exact same event-code associated to it, and that doesn't seem practical. all the more that i would have to create those boxes dynamically (depending on the number of records in recordset).
So here is the question:
Is there any possibility to sort of create an "array" of graphical objects, which all react similarly to events, but have the information stored individually.
Many thanks
Jan
this is what I'm trying to achieve and I don't know how:
Based on a recordset (let's say entries in a table), I would like to create a graphical user interface, that shows a box/textbox/commandbuttom (actually an appropriate) at a certain position in the form for each record. The position of the box on the form is determined by data in the record. I wand to move the box around the form and with the new position update the data within the record (Think of something similar as the appointment-boxes in an Outlook-Agenda).
Now, I can generate one box manually, and with the Mouse-Down/Mouse-Move/Mouse-Up events do exactly that for one particular box. I could also imagine, creating a box for every record and do this to those boxes.
However, the problem is that every single box needs to have the exact same event-code associated to it, and that doesn't seem practical. all the more that i would have to create those boxes dynamically (depending on the number of records in recordset).
So here is the question:
Is there any possibility to sort of create an "array" of graphical objects, which all react similarly to events, but have the information stored individually.
Many thanks
Jan