Top
PowerCOBOL V11.0 Reference
FUJITSU Software

4.271 StartUpPosition Property

Description:

Defines the initial position for the form window.

Used in object:

Form

Values (with constants):

0 - Auto: (POW-STARTUPPOS-AUTO)
PowerCOBOL determines the position based on the position of the window at design time.

1 - Center Owner: (POW-STARTUPPOS-CENTEROWN)
When you open the form using the OpenForm method or CallForm2 (CallForm) method, PowerCOBOL centers the form in the parent window. If the form is opened by any other means it is centered on the screen.

2 - Center Screen: (POW-STARTUPPOS-CENTERSCR)
PowerCOBOL centers the form on the screen, excluding the task bar.

3 - Windows Default:(POW-STARTUPPOS-DEFAULT)
The Windows system default position.

4 - Manual:(POW-STARTUPPOS-MANUAL)
PowerCOBOL positions the form using the values specified in the Top and Left properties.

Default value:

0 - Auto:(POW-STARTUPPOS-AUTO)

COBOL picture:

S9(4) COMP-5

OLE data type:

VT_I2

Design time access:

Set and reference.

Execution time access:

Not accessible.

Backward compatibility attribute:

None.