Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - prevent Resize
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

prevent Resize

 Post Reply Post Reply
Author
Message
Bernie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 July 2007
Location: Taiwan
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bernie Quote  Post ReplyReply Direct Link To This Post Topic: prevent Resize
    Posted: 25 February 2008 at 3:46am
I would like to cancel user's pane resize.
Can you teach me how?
Bernie Ho, Planning Manager + IELTS specialist + part-time programmer
Taiwan, R.O.C
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 25 February 2008 at 5:20am
Hi,
 
You could use DockingPane.Options.LockSplitters = True but this affects all other splitters as well.
 
Or you could use:  Pane.MaxTrackSize.SetSize 100,100 and Pane.MinTrackSize.SetSize 100,100
 
This will set the minimum and maximum size of the pane. If min == max then splitter won't be visible and cannot be resized
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.