Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Child window posistion

Status
Not open for further replies.

mettodog

Vendor
Jul 11, 2000
94
US
i want a child window when loaded, to appear in the top right corner of the MDI parent. How would i do this?
 
how about :

Me.Top = 0
Me.Left = (Screen.Width - Me.Width)

Sadly, it may not really in the top right corner coz the MDI form scroll bar showed automatically. You may need to put a number to adjust its position so the code will look like :

Me.Top = 0
Me.Left = (Screen.Width - Me.Width) - x

where x could be 100, 200...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top