AutoPlay Media Studio 9

Grid.GetFocusCell

Grid.GetFocusCell

This is the first topic This is the last topic  

Grid.GetFocusCell

This is the first topic This is the last topic  

OverviewExamples

table Grid.GetFocusCell (

string ObjectName )

Example 1

-- Get the address of the cell that has focus

tblCellFocus = Grid.GetFocusCell("Grid1");

 

-- if there is room to move focus to the right

if tblCellFocus.Column < Grid.GetColumnCount("Grid1") then

   -- set the focus one space to the right

   Grid.SetFocusCell("Grid1", tblCellFocus.Row, tblCellFocus.Column + 1);

end

Sets the focus cell one column to the right (if it is not already there)

See also: Related Actions


Learn More: Indigo Rose Software - AutoPlay Media Studio - Buy Now - Contact Us