ctData: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
m (Fixed example) |
||
(34 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 | |gr1= GUI Control - Controls Table | ||
| Returns metadata | |descr= Returns metadata associated with a particular row of a [[CT_CONTROLS_TABLE]] control. | ||
| ctrl | |s1= ctrl [[ctData]] row | ||
|p1= ctrl: [[Control]] - | |p1= ctrl: [[Control]] - the respective control | ||
|p2= row: [[Number]] - | |p2= row: [[Number]] - the row index | ||
| [[String]] | |r1= [[String]] | ||
|x1= <sqf>private _data = _ctrl ctData 0;</sqf> | |||
|x1= < | |||
|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