|
-
Feb 28th, 2006, 07:21 AM
#1
Thread Starter
Member
Modal dialog location
Is it possible to specify the position for a modal dialog ?
Last edited by Paolo_ituk; Feb 28th, 2006 at 07:36 AM.
-
Feb 28th, 2006, 07:29 AM
#2
Re: Modal dialog location
Of course. Set the position before you call .ShowDialog... ?
-
Feb 28th, 2006, 07:30 AM
#3
Re: Modal dialog location
If StartUpPosition property of that Form is Manual you can do..
VB Code:
Fr.Left = 0 'Whatever you want
Fr.Top = 0 'Whatever you want
Fr.ShowDialog(Me)
-
Feb 28th, 2006, 07:41 AM
#4
Thread Starter
Member
Re: Modal dialog location
Of course. I forgot to set the StartPosition property to FormStartPosition.Manual so the value assigned to location was being ignored. Thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|