ctValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|s1= +" to "|s1= ")
m (Text replacement - "<code>_([a-zA-Z0-9_]+) += +_([a-zA-Z0-9_]+) +\[\[([a-zA-Z0-9_]+)\]\] +([0-9]+) *;?<\/code>" to "<sqf>_$1 = _$2 $3 $4;</sqf>")
 
(18 intermediate revisions by the same user not shown)
Line 8: Line 8:
|descr= Returns metadata (number) associated with a particular row of RscControlsTable.
|descr= Returns metadata (number) associated with a particular row of RscControlsTable.


|s1= control '''ctValue''' index
|s1= control [[ctValue]] index


|p1= control: [[Control]]
|p1= control: [[Control]]
Line 15: Line 15:
|r1= [[Number]]
|r1= [[Number]]


|x1= <code>_number = _control [[ctValue]] 0;</code>
|x1= <sqf>_number = _control ctValue 0;</sqf>


|seealso= [[ctAddRow]], [[ctAddHeader]], [[ctClear]], [[ctCurSel]], [[ctSetCurSel]], [[ctRowControls]], [[ctHeaderControls]], [[ctRowCount]], [[ctHeaderCount]], [[ctSetValue]], [[ctSetData]], [[ctData]], [[ctFindRowHeader]], [[ctFindHeaderRows]], [[ctRemoveRows]], [[ctRemoveHeaders]], [[ctSetRowTemplate]], [[ctSetHeaderTemplate]]
|seealso= [[ctAddRow]] [[ctAddHeader]] [[ctClear]] [[ctCurSel]] [[ctSetCurSel]] [[ctRowControls]] [[ctHeaderControls]] [[ctRowCount]] [[ctHeaderCount]] [[ctSetValue]] [[ctSetData]] [[ctData]] [[ctFindRowHeader]] [[ctFindHeaderRows]] [[ctRemoveRows]] [[ctRemoveHeaders]] [[ctSetRowTemplate]] [[ctSetHeaderTemplate]]
}}
}}

Latest revision as of 21:33, 7 May 2022

Hover & click on the images for description

Description

Description:
Returns metadata (number) associated with a particular row of RscControlsTable.
Groups:
GUI Control - Controls Table

Syntax

Syntax:
control ctValue index
Parameters:
control: Control
index: Number
Return Value:
Number

Examples

Example 1:
_number = _control ctValue 0;

Additional Information

See also:
ctAddRow ctAddHeader ctClear ctCurSel ctSetCurSel ctRowControls ctHeaderControls ctRowCount ctHeaderCount ctSetValue 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