PointerX

Description

Determines the distance of the pointer from the left edge of the specified object.

Applies to

DataWindow type

Method applies to

PowerBuilder

DataWindow control

Syntax

PowerBuilder

integer objectname.PointerX  ( ) 

Argument

Description

objectname

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

Returns

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

Usage

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