This content has been marked as final. Show 4 replies
"Greg Lafrance" <email@example.com> wrote in message
>I have code that changes the cursor indicating user can drag to resize
> vertically, horizontally, or diagonally, but I'm not sure how to proceed
> dynamically resize the VBoxes.
> If the user has the vertical resizing cursor displayed (by clicking the
> border of the lower VBox) and drags, the VBox above the border and below
> border should both resize.
> Any ideas for how to proceed with this?
Use VDividedBox instead?
But the app will initially have three rows each containing three VBoxes. User can add or delete VBoxes to the rows, and add and delete rows. So there might be a quite complex set of VBoxes here.
Any way you can set up an on change eventHandler?
change="myChangeEvent()" which then parses the width and height attributes into the named vbox's?
then perhaps creating a loop within the myChangeEvent to pickup on your mouse position?
A tricky one to be sure