Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

Currently Using: Visual Basic.Net 2005, .Net Framework 2.0
Posted

Thanks Marble. I didnt know about that setting. It works perfectly.

 

Have you tried setting the StartupPosition property to Manual?
Currently Using: Visual Basic.Net 2005, .Net Framework 2.0

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...