Difference between revisions of "CueListView:DispatchAction"

From Moving Light Assistant
Jump to: navigation, search
(Added page.)
(No difference)

Revision as of 01:07, 18 July 2015

DispatchAction( action, optionalParameter )

action is a string.
optionalParameter is a string (only some actions require the optionalParameter).

This function sends a user interface action to the Cue List view. These actions would normally by triggered by clicking on the user interface, i.e. clicking on a toolbar button, or selecting a cue row in the Cue List table.

Example.

CueListView:DispatchAction("Select All")

This would send an action that would be the same as selecting the Select All menu item from the Edit menu.

Action Strings

Select All

Will select all the displayed cue rows in the cue table in the Cue List view.

Deselect All

Will deselect all the displayed cue rows in the cue table in the Cue List view.

Select First Cue Row

Will select the first cue row in the cue table in the Cue List view. It is the same as if you had clicked on the first cue row in the cue table. Note that table will not scroll to show the selection.

Select Last Cue Row

Will select the last cue row in the cue table in the Cue List view. It is the same as if you had clicked on the last cue row in the cue table. Note that table will not scroll to show the selection.

Select Next Cue Row

Will select the next cue row in the cue table in the Cue List view. If no cue row was previously selected, it will select the first cue row. Note that table will not scroll to show the selection.

Select Previous Cue Row

Will select the previous cue row in the cue table in the Cue List view. If no cue row was previously selected, it will not do anything. Note that table will not scroll to show the selection.

Select Cue