ctCurSel: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
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>") |
||
(45 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 | |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= [[ctCurSel]] ctrl | ||
|p1= ctrl: [[Control]] | |p1= ctrl: [[Control]] | ||
| [[Number]] | |r1= [[Number]] | ||
|x1= <sqf>_curSel = ctCurSel _control;</sqf> | |||
|x1= < | |||
|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