ctCurSel: Difference between revisions
m (Bot: Reverted to revision 106455 by krzmbrzl on 2018-04-06T11:06:05Z)  | 
				m (template:command argument fix)  | 
				||
| Line 8: | Line 8: | ||
____________________________________________________________________________________________  | ____________________________________________________________________________________________  | ||
| Returns index of the selected row. Will take only rows, but not headers into account. |=   | | Returns index of the selected row. Will take only rows, but not headers into account. |DESCRIPTION=  | ||
____________________________________________________________________________________________  | ____________________________________________________________________________________________  | ||
| '''ctCurSel''' ctrl |=   | | '''ctCurSel''' ctrl |SYNTAX=  | ||
|p1= ctrl: [[Control]] |=   | |p1= ctrl: [[Control]] |PARAMETER1=  | ||
| [[Number]] |=   | | [[Number]] |RETURNVALUE=  | ||
____________________________________________________________________________________________  | ____________________________________________________________________________________________  | ||
|x1= <code>_curSel = [[ctCurSel]] _control;</code> |=   | |x1= <code>_curSel = [[ctCurSel]] _control;</code> |EXAMPLE1=  | ||
____________________________________________________________________________________________  | ____________________________________________________________________________________________  | ||
| [[ctAddRow]], [[ctAddHeader]], [[ctClear]], [[ctSetCurSel]], [[ctRowControls]], [[ctHeaderControls]], [[ctRowCount]], [[ctHeaderCount]], [[ctSetValue]], [[ctValue]], [[ctSetData]], [[ctData]], [[ctFindRowHeader]], [[ctFindHeaderRows]], [[ctRemoveRows]], [[ctRemoveHeaders]], [[ctSetRowTemplate]], [[ctSetHeaderTemplate]] |=   | | [[ctAddRow]], [[ctAddHeader]], [[ctClear]], [[ctSetCurSel]], [[ctRowControls]], [[ctHeaderControls]], [[ctRowCount]], [[ctHeaderCount]], [[ctSetValue]], [[ctValue]], [[ctSetData]], [[ctData]], [[ctFindRowHeader]], [[ctFindHeaderRows]], [[ctRemoveRows]], [[ctRemoveHeaders]], [[ctSetRowTemplate]], [[ctSetHeaderTemplate]] |SEEALSO=  | ||
}}  | }}  | ||
Revision as of 14:36, 7 April 2019
Description
- Description:
 - Returns index of the selected row. Will take only rows, but not headers into account.
 - Groups:
 - Uncategorised
 
Syntax
Examples
- Example 1:
 _curSel = ctCurSel _control;
Additional Information
- See also:
 - ctAddRowctAddHeaderctClearctSetCurSelctRowControlsctHeaderControlsctRowCountctHeaderCountctSetValuectValuectSetDatactDatactFindRowHeaderctFindHeaderRowsctRemoveRowsctRemoveHeadersctSetRowTemplatectSetHeaderTemplate
 
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 
Notes
Bottom Section
Categories: 
- Scripting Commands
 - Introduced with Arma 3 version 1.70
 - Arma 3: New Scripting Commands
 - Arma 3: Scripting Commands
 - Command Group: Uncategorised
 - Scripting Commands: Local Effect
 - Scripting Commands OFP 1.99
 - Scripting Commands OFP 1.96
 - Scripting Commands ArmA
 - Command Group: GUI Control
 - Scripting Commands ArmA2
 - Scripting Commands Arma 3
 - Scripting Commands Take On Helicopters
 - Arma 3: New Scripting Commands List