ctSetCurSel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Nothing]] <nowiki>=</nowiki> [[Control]] '''ctSetCurSel''' [[Number]] |= Syntax
| [[Control]] '''ctSetCurSel''' [[Number]] |= Syntax


|p1= control: [[Control]] |= Parameter 1
|p1= control: [[Control]] |= Parameter 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:
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