"gridMoveItem"

The function moves the objects from one area of the grid into another area.

Synopsis

layout.gridMoveItem(int fromRow, int fromColumn, int toRow, int toColumn, int rowSpan, int colSpan)

Parameter

Parameter Description
layout Grid Layout
fromRow Row from which the objects should be moved.
fromColumn Columns from which the objects should be moved.
toRow Row to which the objects should be moved.
toColumn Column to which the objects should be moved.
rowSpan Number of rows the objects should use as span.
colSpan Number of columns the objects should use as span.

Return Value

-

Description

The method moves the elements from one grid area of the position formRow|fromColumn to the area toRow|toColumn. Addiotionally a span can be stated to define the number of areas the objects should use in the new position.

Example

All objects of the first area of the grid (Row:0, Column:0) are moved one position to the right (Row:0, Column:1)

main()
{
  LAYOUT_GROUP1.gridMoveItem(0,0,0,1,1,1); 
}

Assignment

Layout Management