Returns the position of a form when it first appears.
[ enStartUpPosition = ] Object.StartUpPosition
The StartUpPosition property syntax has the following parts:
| 
 Name  | 
 Type  | 
 Description  | 
| 
 Object  | 
 AForm  | 
 AForm object  | 
| 
 enStartUpPosition  | 
 enumAFormStartUpPosition  | 
 An integer that specifies the position of a form when it first appears.  | 
| 
 Name  | 
 Value  | 
 Description  | 
| 
 aformStartUpPositionManual  | 
 0  | 
 Manual. No initial setting specified.  | 
| 
 aformStartUpPositionOwner  | 
 1  | 
 Owner. Center the form on the item to which the form belongs.  | 
| 
 aformStartUpPositionScreen  | 
 2  | 
 Screen. Center the form on the whole screen.  | 
| 
 aformStartUpPositionWindowsDefault  | 
 3  | 
 Windows Default. Position the form in the upper-left corner of the screen.  | 
The following statement returns the AForm StartUpPosition on the screen:
lfrm1StartUpPosition = frm1.StartUpPosition
MDIArrange, OnActivate, OnGotFocus, OnLoad, OnPaint, Visible