ctValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
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>")
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|arma3
|game1= arma3
|1.70
|version1= 1.70


|gr1= GUI Control - Controls Table
|gr1= GUI Control - Controls Table


| Returns metadata (number) associated with a particular row of RscControlsTable.
|descr= Returns metadata (number) associated with a particular row of RscControlsTable.


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


|p1= control: [[Control]]
|p1= control: [[Control]]
|p2= index: [[Number]]
|p2= index: [[Number]]


| [[Number]]
|r1= [[Number]]


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


|x1= <code>_number = _control [[ctValue]] 0;</code>
|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]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|New Scripting Commands}}

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