Control Form Position?

agehoops

Registered User.
Local time
Today, 09:04
Joined
Feb 11, 2006
Messages
351
How do you control the position of a form programmatically?
 
Brilliant thanks. Found it. Don't suppose you know how to return its current position so I know where to be moving it do you?
 
YourFormName.WindowHeight
YourFormName.WindowWidth

in conjunction with:

YourFormName.WindowLeft
YourFormName.WindowTop

You can get the top left corner of the form window with the latter, and determine how big it is with the former.
 

Users who are viewing this thread

Back
Top Bottom