Field_GetPosition()

Examples


The Field_GetPosition() function returns the current coordinates of the named field’s top left corner.

Syntax

Field_GetPosition(field_name, h_position, v_position)

Parameters

field_name The name of the field for which you want to retrieve a position.

h_position An integer field or variable to which the specified field’s horizontal coordinate is returned.

v_position An integer field or variable to which the specified field’s vertical coordinate is returned.

Return value

A boolean. True indicates the field position was returned, while false indicates it was not.

Comments

The coordinates are expressed in pixels. The coordinates 0,0 specify the upper left corner of the window.


Documentation Feedback