RigDataView:IsLastFixtureRowSelected()
Returns a boolean.
This function will return true if the last fixture is selected in the fixture list, otherwise will return false. Useful when iterating through the fixture list.
Example.
RigDataView:DispatchAction("Select First Fixture")
fixtureListFinished = false
while fixtureListFinished == false do
-- Insert code here to do what you want with the fixture.
-- Continue to next fixture, or are we done.
if RigDataView:IsLastFixtureRowSelected() == true then
fixtureListFinished = true
else
RigDataView:DispatchAction("Select Next Fixture")
end
end
This selects the first fixture in the fixture list and step through all the displayed fixtures.