ctCurSel: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters")  | 
				Lou Montana (talk | contribs)  m (Text replacement - "<code>_([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\] _([a-zA-Z0-9_]+);?<\/code>" to "<sqf>_$1 = $2 _$3;</sqf>")  | 
				||
| (47 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{  | {{RV|type=command  | ||
|arma3 |=   | |game1= arma3  | ||
|version1= 1.70  | |||
|arg= local   | |arg= local  | ||
|eff= local   | |eff= local  | ||
|   | |gr1= GUI Control - Controls Table  | ||
|   | |descr= Returns index of the selected row. Will take only rows, but not headers into account.  | ||
|  | |s1= [[ctCurSel]] ctrl  | ||
| [[  | |p1= ctrl: [[Control]]  | ||
|r1= [[Number]]  | |||
|  | |||
|x1= <sqf>_curSel = ctCurSel _control;</sqf>  | |||
|   | |||
|seealso= [[ctAddRow]] [[ctAddHeader]] [[ctClear]] [[ctSetCurSel]] [[ctRowControls]] [[ctHeaderControls]] [[ctRowCount]] [[ctHeaderCount]] [[ctSetValue]] [[ctValue]] [[ctSetData]] [[ctData]] [[ctFindRowHeader]] [[ctFindHeaderRows]] [[ctRemoveRows]] [[ctRemoveHeaders]] [[ctSetRowTemplate]] [[ctSetHeaderTemplate]]  | |||
}}  | }}  | ||
Latest revision as of 21:24, 7 May 2022
Description
- Description:
 - Returns index of the selected row. Will take only rows, but not headers into account.
 - Groups:
 - GUI Control - Controls Table
 
Syntax
Examples
- Example 1:
 
Additional Information
- See also:
 - ctAddRow ctAddHeader ctClear ctSetCurSel ctRowControls ctHeaderControls ctRowCount ctHeaderCount ctSetValue ctValue ctSetData ctData ctFindRowHeader ctFindHeaderRows ctRemoveRows ctRemoveHeaders ctSetRowTemplate ctSetHeaderTemplate
 
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