Description

Gets or sets the starting position of the form.

Syntax

object.StartPosition [ = Long ]

Property Value

One of the following values:

Setting Long Description
Manual 0 The position of the form is determined by the Location property.
CenterScreen 1 The form is centered on the current display, and has the dimensions specified in the form's size.
WindowsDefaultBounds 3 The form is positioned at the Windows default location and has the bounds determined by Windows default.
WindowsDefaultLocation 2 The form is positioned at the Windows default location and has the dimensions specified in the form's size.
CenterParent 4 The form is centered within the bounds of its parent form.

Remarks

This property enables you to set the starting position of the form when it is displayed at run time. The form can be displayed manually or in the default location specified by Windows. You can also position the form to display in the center of the screen or in the center of its parent form.


The CHM file was converted to HTML by chm2web software.