i need a working example to deselect cell in Grid object
from the free manual i try
that
Select half of the cells in the object "Grid1"
but when i try the following cod in another button
that dos not deSelect the cells in the object "Grid1"
why ?
and how can i deselect a cell ??
plz i need a working example
from the free manual i try
Code:
TotalColumn = Grid.GetColumnCount("Grid1"); TotalRow = Grid.GetRowCount("Grid1"); -- Set the selected cells Grid.SetSelectedRange("Grid1", 0, 0, TotalColumn / 2, TotalRow / 2, true, true);
Select half of the cells in the object "Grid1"
but when i try the following cod in another button
Code:
TotalColumn = Grid.GetColumnCount("Grid1"); TotalRow = Grid.GetRowCount("Grid1"); -- Set the selected cells Grid.SetSelectedRange("Grid1", 0, 0, TotalColumn / 2, TotalRow / 2, false , true);
why ?
and how can i deselect a cell ??
plz i need a working example
Comment