Skip to content

StartupPosition

The initial position of a form's window when it is first shown. Used by WindowsFormOptions.StartUpPosition. Honoured once, at the form's first display; subsequent moves are at the user's discretion or controlled by code.

ConstantValueDescription
tbStartUpManual0The form uses its design-time Left and Top values.
tbStartUpCenterOwner1The form is centred over its owner window. Falls back to tbStartUpCenterScreen if the form has no owner.
tbStartUpCenterScreen2The form is centred on the screen.
tbStartUpWindowsDefault3Windows chooses the position using the same cascade-from-top-left logic the OS applies to new windows. The default for newly-constructed WindowsFormOptions.

twinBASIC and LOGO copyright of "WaynePhillipsEA" author