PointerY

Description

Determines the distance of the pointer from the top of the specified object.

Applies to

DataWindow type

Method applies to

PowerBuilder

DataWindow control

Syntax

PowerBuilder

integer objectname.PointerY  ( ) 

Argument

Description

objectname

The name of the control or window for which you want the pointer’s distance from the top. If you do not specify objectname, PointerY reports the distance from the top of the current sheet or window.

Returns

Returns the pointer’s distance from the top of objectname in PowerBuilder units if it succeeds and –1 if an error occurs.

If objectname is null, PointerY returns null.

Usage

Inherited from DragObject. For information, see PointerY in the PowerScript Reference.