Form Location

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to set the location of the form at right hand corner
but different screen resolution will
have different points what I need to set...

Any Idea
Thank You
 
* "=?Utf-8?B?RmF0Ym95Q2FudGVlbg==?= said:
I want to set the location of the form at right hand corner,
but different screen resolution will
have different points what I need to set....

Subtract the height/width of the form from the monitor height/width:

Monitor size:

'SystemInformation.PrimaryMonitorSize'
'SystemInformation.WorkingArea'
'SystemInformation.VirtualScreen'
'Screen.PrimaryScreen.Bounds'
'Screen.PrimaryScreen.WorkingArea'

When using multiple monitors:

'Screen.AllScreens'
 
Back
Top