ctSetCurSel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ |arma3dev |= Game |1.68|= Game Version |arg= local |= Argume...")
 
No edit summary
Line 20: Line 20:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_array = _control [[ctSetCurSel]] 0;</code> |= Example 1
|x1= <code>_control [[ctSetCurSel]] 0;</code> |= Example 1


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 11:43, 21 February 2017

-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.68|1.68]]
Hover & click on the images for description

Description

Description:
Selects the line with the given index. Will take only rows, but not headers into account. -1 deselects all. Returns Nothing.
Groups:
Uncategorised

Syntax

Syntax:
Nothing = Control ctSetCurSel Number
Parameters:
control: Control
index: Number
Return Value:
Nothing

Examples

Example 1:
_control ctSetCurSel 0;

Additional Information

See also:
ctAddRowctAddHeaderctClearctCurSelctRowControlsctHeaderControlsctRowCountctHeaderCountctSetValuectValuectSetDatactDatactFindRowHeaderctFindHeaderRowsctRemoveRowsctRemoveHeaderssetRowTemplatesetHeaderTemplate

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

[[Category:Introduced with arma3dev version 1.68]][[ Category: arma3dev: New Scripting Commands | CTSETCURSEL]][[ Category: arma3dev: Scripting Commands | CTSETCURSEL]]

Notes

Bottom Section