ctData: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|s1= +" to "|s1= ") |
m (Fixed example) |
||
(18 intermediate revisions by one other user not shown) | |||
Line 8: | Line 8: | ||
|gr1= GUI Control - Controls Table | |gr1= GUI Control - Controls Table | ||
|descr= Returns metadata | |descr= Returns metadata associated with a particular row of a [[CT_CONTROLS_TABLE]] control. | ||
|s1= ctrl | |s1= ctrl [[ctData]] row | ||
|p1= ctrl: [[Control]] - | |p1= ctrl: [[Control]] - the respective control | ||
|p2= row: [[Number]] - | |p2= row: [[Number]] - the row index | ||
|r1= [[String]] | |r1= [[String]] | ||
|x1= < | |x1= <sqf>private _data = _ctrl ctData 0;</sqf> | ||
|seealso= [[ctAddRow]] | |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