ctData: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Fixed example) |
||
(53 intermediate revisions by 4 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 metadata associated with a particular row of a [[CT_CONTROLS_TABLE]] control. | ||
| | |s1= ctrl [[ctData]] row | ||
| [[ | |p1= ctrl: [[Control]] - the respective control | ||
|p2= row: [[Number]] - the row index | |||
|r1= [[String]] | |||
| | |||
|x1= <sqf>private _data = _ctrl ctData 0;</sqf> | |||
|seealso= [[ctAddRow]] [[ctAddHeader]] [[ctClear]] [[ctCurSel]] [[ctSetCurSel]] [[ctRowControls]] [[ctHeaderControls]] [[ctRowCount]] [[ctHeaderCount]] [[ctSetValue]] [[ctValue]] [[ctSetData]] [[ctFindRowHeader]] [[ctFindHeaderRows]] [[ctRemoveRows]] [[ctRemoveHeaders]] [[ctSetRowTemplate]] [[ctSetHeaderTemplate]] | |||
}} | }} | ||
Latest revision as of 16:25, 30 April 2022
Description
- Description:
- Returns metadata associated with a particular row of a CT_CONTROLS_TABLE control.
- Groups:
- GUI Control - Controls Table
Syntax
- Syntax:
- ctrl ctData row
- Parameters:
- ctrl: Control - the respective control
- row: Number - the row index
- Return Value:
- String
Examples
- Example 1:
Additional Information
- See also:
- ctAddRow ctAddHeader ctClear ctCurSel ctSetCurSel ctRowControls ctHeaderControls ctRowCount ctHeaderCount ctSetValue ctValue ctSetData 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