GetPosition (retrieve group control position)

Top  Previous  Next

 

GetPosition(instance, XPos, Ypos), VIRTUAL, PROTECTED

GetPosition

Sets the XPosition and YPosition for the control instance.

instance

A numeric constant, variable, EQUATE, or expression containing the control number.

XPos

An integer constant, variable, EQUATE, or expression that indicates the X position of the specific GROUP control instance.

YPos

An integer constant, variable, EQUATE, or expression that indicates the Yposition of the specific GROUP control instance.

Implementation:

The GetPosition method is called to set the X and Y positions of the GROUP control is created to simulated the grid appearance. This control is created in the GridClass.CreateControls PRIVATE method.