Difference between revisions of "PresetDocView:GetSelectedPresetCount"

From Moving Light Assistant
Jump to: navigation, search
(Added Page.)
 
m
 
Line 8: Line 8:
 
:<code>numSelected = PresetDocView:GetSelectedPresetCount()</code>
 
:<code>numSelected = PresetDocView:GetSelectedPresetCount()</code>
 
This would assign to the variable ''numSelected'' the number of presets selected in the preset list.
 
This would assign to the variable ''numSelected'' the number of presets selected in the preset list.
 +
 
''Available in MLA v1.3.2 Beta 5 onwards.''
 
''Available in MLA v1.3.2 Beta 5 onwards.''

Latest revision as of 15:59, 21 January 2019

GetSelectedPresetCount()

Returns an integer.

This function will return the number of selected preset rows displayed in the Preset Documentation preset list.

Example.

numSelected = PresetDocView:GetSelectedPresetCount()

This would assign to the variable numSelected the number of presets selected in the preset list.

Available in MLA v1.3.2 Beta 5 onwards.