ctCurSel: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "\|s1=  +" to "|s1= ")  | 
				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>")  | 
				||
| (18 intermediate revisions by the same user not shown) | |||
| Line 10: | Line 10: | ||
|descr= 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