Navigation:  ABC Library Reference > GridClass > GridClass Methods >====== GetPosition (retrieve group control position) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

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

blk2blue.jpg

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.