Move method (grid)

Examples


The Move method changes the position of a grid relative to the window containing the grid.

Syntax

grid.Move ([left [, top [, width [, height]]]])

Parameters

grid – A grid object.

left – An integer specifying the distance (in pixels) from the left edge of the grid to the left edge of the window’s border.

top – An integer specifying the distance (in pixels) from the top edge of the grid to the bottom edge of the window’s title bar.

width – An integer specifying the width (in pixels) of the grid.

height – An integer specifying the height (in pixels) of the grid.

Comments

You can use named arguments for the Move method, or specify arguments by position. If you use positional arguments, enter each in the order shown, using commas and null string values ("") to indicate the relative position of arguments you don’t specify.

The Move method will move the grid and any of the fields, prompts and controls associated with the grid. These items are associated with the grid if they’re no further than one pixel from the grid’s border, or if they’re one pixel from the edge of another associated item.


Documentation Feedback