ctCurSel: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) *  \|p1=" to " |s1= $1  |p1=")  | 
				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>")  | 
				||
| (21 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{RV|type=command  | {{RV|type=command  | ||
|arma3  | |game1= arma3  | ||
|1.70  | |version1= 1.70  | ||
|arg= local  | |arg= local  | ||
|eff= local  | |eff= local  | ||
| Line 8: | Line 8: | ||
|gr1= GUI Control - Controls Table  | |gr1= GUI Control - Controls Table  | ||
| Returns index of the selected row. Will take only rows, but not headers into account.  | |descr= Returns index of the selected row. Will take only rows, but not headers into account.  | ||
|s1=   | |s1= [[ctCurSel]] ctrl  | ||
|p1= ctrl: [[Control]]  | |p1= ctrl: [[Control]]  | ||
| Line 16: | Line 16: | ||
|r1= [[Number]]  | |r1= [[Number]]  | ||
|x1= <  | |x1= <sqf>_curSel = ctCurSel _control;</sqf>  | ||
|seealso= [[ctAddRow]]  | |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