Top
PowerCOBOL V11.0 Reference
FUJITSU Software

4.301 Top Property

Description:

Contains the Y coordinate of the upper left corner of the control.

Used in control(s):

All controls and the Form object

Value:

The Y coordinate expressed in the units defined in the ScaleMode property.

Controls

Relative to the upper left corner of the Form or control, which is identified in the Container property.

Form

Relative to the upper left corner of the screen.

You can only set the value when the StartUpPosition property is "4 - Manual".

Default value:

None.

COBOL picture:

S9(9) COMP-5

OLE data type:

VT_I4

Design time access:

Toolbar

Set and reference.

You can only set the value when the Align property is "0 - None".

Others

Set and reference.

Execution time access:

DBAccess, DDE, ExcelConnection, Timer and Print

Not accessible.

Toolbar

Set and reference.

You can only set the value when the Align property is "0 - None".

Others

Set and reference.

Backward compatibility attribute:

POW-POSITION - made up of the following elements.

This property corresponds to POS-Y.

01 POSITIONS.
02 POS-X
PIC S9(4) COMP-5.
02 POS-Y
PIC S9(4) COMP-5.
02 POS-WIDTH
PIC S9(4) COMP-5.
02 POS-HEIGHT
PIC S9(4) COMP-5.