AutoPlay Media Studio 9

Grid.IsCellValid

Grid.IsCellValid

This is the first topic This is the last topic  

Grid.IsCellValid

This is the first topic This is the last topic  

OverviewExamples

boolean Grid.IsCellValid (

string ObjectName,

number Row,

number Column )

Example 1

-- Find out if the grid is editable

bEditable = Grid.GetEditable("Grid1");

-- find out if 3,2 exists

bValid = Grid.IsCellValid("Grid1", 3, 2);

 

-- if it is not editable and cell 3,2 exists

if (not bEditable) and (bValid) then

    -- make the grid editable

    Grid.SetEditable("Grid1", true);

end

Make the grid editable if it is not and if a certain cell exists

See also: Related Actions


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