NeuralJack Posted October 7, 2006 Posted October 7, 2006 I'd like an auxillary form to pop up next to a main form. if there is space on the screen to the right for the new form I put it there. What i've found is that setting the Location of the new form before .Show does nothing. After using .Show I can successfully set the position though. What this ends up doing is flashing the new form first in a position I dont want, then moving it to the position I do want. It looks sloppy, can anyone help? The new form position cant be set via the form designer because it's variable and needs to be set programatically. Quote Currently Using: Visual Basic.Net 2005, .Net Framework 2.0
Leaders snarfblam Posted October 7, 2006 Leaders Posted October 7, 2006 Have you tried setting the StartupPosition property to Manual? Quote [sIGPIC]e[/sIGPIC]
NeuralJack Posted October 8, 2006 Author Posted October 8, 2006 Thanks Marble. I didnt know about that setting. It works perfectly. Have you tried setting the StartupPosition property to Manual? Quote Currently Using: Visual Basic.Net 2005, .Net Framework 2.0
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.