How to interchange toggle-box position in runtime?

yssriram

New Member
Hi All,

The requirement is to have 10 toggle-boxes in a single row. The user should be able to drag and drop the toggle-boxes so that the position is inter-changed.
Can you please suggest whether any OCX is available to accomplish this? Or can we place the toggle-boxes in a grid or browse and move around?

Thanks in advance for your earliest feedback.

Thanks,
Sriram
 
Blimey, what a strange requirement...

You can set the toggle-boxes to be "movable", allowing the user to drag them around. Then you're left with two problems:

1. When the user drops one (ahem), you will have to run around the widget-tree in the frame and re-order the 10 toggle-boxes based on the final position.

2. When the user has finished messing, you will have to run around the widget-tree one final time to find out the current positions, and store them in your database somewhere.

Not sure about OCX solutions, but I would hazard a guess that it's easier to do this natively as described above.
 
Back
Top