Xombie Posted May 2, 2003 Posted May 2, 2003 Howdy - I've got my form nice and set up to handle resizing & such. However, when I manually resize the form the splitter bar stays where it is. So, if I were to maximize the form, move the splitter bar way to the top and then restore the window, I can only see the 1 pane. The other one is off the screen. I'm using VB.Net 2003 and I'd figure this'd be one of those obvious things they'd make allowances for when they made the splitter control. Anyone run into this before and feel like sharing some tips? Quote
hog Posted May 3, 2003 Posted May 3, 2003 Have you looked at the Anchor and Dock settings? Quote My website
Xombie Posted May 3, 2003 Author Posted May 3, 2003 Yar. I finally figured it out. I had to create a form variable that would hold the splitter.splitposition/the total height of the panel I was splitting. Whenever I resized, I'd reverse the formula and set the splitter.splitposition = total panel height*the variable. I had to do something similar in vb6 but I was hoping there was an easy, non-code way to do it here. I have to say the panels & docking & anchor thing is kinda neat. Takes a little getting used to but it's awful nice to not have to go through so much resize code. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.