Resizing Two Adjacent Controls with Mouse

gray

Registered User.
Local time
Today, 13:34
Joined
Mar 19, 2007
Messages
578
Hi All

Access 2007 .mdb
WinXpPro SP3

I've two controls on a form which are adjacent to one another. I'm trying to recreate what happens in Windows Explorer whereby placing the cursor over the centre of the shared border first changes the mouse to East-West and then by permits dragging to resize both windows....

I've dabbled with mouseup/down/move/button=1 etc etc in the controls but I just can't make it reliable... I've looked around but to my surprise it's difficult to find a method for something I thought would be so common?... anyone have any pointers/tutorials on this please?

Thanks
 
Make a multiple section of the controls you want to resize using a shift + click. The hover over the side of one of the controls until the pointer turns into and east-west arrow. Drag to resize all at the same time.
 
Hi Bryan

Thanks for the reply... sorry, though I didn't explain too well.

Rather than in design mode I was looking to permit end-users to be able to resize these two controls (a treeview and listview) at runtime... Windows Explorer-style.

Thanks
 
Hi

Still struggling with this... anyone have any samples/examples please? Thanks.
 

Users who are viewing this thread

Back
Top Bottom