Setting New Forms Position before .Show [vb.net]

NeuralJack

Centurion
Joined
Jul 28, 2005
Messages
138
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.
 
Back
Top