| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > GridClass > GridClass Methods >====== GetPosition (retrieve group control position) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[getdown number of vertical grids .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[ifgroupfield determine if current control is a group .htm|{{btn_next_n.gif|Next page}}]] | | || **GetPosition(**//instance//**,** //XPos//**, **//Ypos//**), VIRTUAL, PROTECTED** {{blk2blue.jpg|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.