Is it possible to specify the position for a modal dialog ?
Printable View
Is it possible to specify the position for a modal dialog ?
Of course. Set the position before you call .ShowDialog... ?
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)
Of course. I forgot to set the StartPosition property to FormStartPosition.Manual so the value assigned to location was being ignored. Thank you.