ctValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|=GROUP1" to "|GROUP1=")
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>")
 
(42 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


|arma3 |= Game
|game1= arma3
|1.70|Game Version=
|version1= 1.70


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


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


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


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


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


____________________________________________________________________________________________
|x1= <sqf>_number = _control ctValue 0;</sqf>
 
|x1= <code>_number = _control [[ctValue]] 0;</code> |EXAMPLE1=
 
____________________________________________________________________________________________
 
| [[ctAddRow]], [[ctAddHeader]], [[ctClear]], [[ctCurSel]], [[ctSetCurSel]], [[ctRowControls]], [[ctHeaderControls]], [[ctRowCount]], [[ctHeaderCount]], [[ctSetValue]], [[ctSetData]], [[ctData]], [[ctFindRowHeader]], [[ctFindHeaderRows]], [[ctRemoveRows]], [[ctRemoveHeaders]], [[ctSetRowTemplate]], [[ctSetHeaderTemplate]] |SEEALSO=


|seealso= [[ctAddRow]] [[ctAddHeader]] [[ctClear]] [[ctCurSel]] [[ctSetCurSel]] [[ctRowControls]] [[ctHeaderControls]] [[ctRowCount]] [[ctHeaderCount]] [[ctSetValue]] [[ctSetData]] [[ctData]] [[ctFindRowHeader]] [[ctFindHeaderRows]] [[ctRemoveRows]] [[ctRemoveHeaders]] [[ctSetRowTemplate]] [[ctSetHeaderTemplate]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<!-- DISCONTINUE Notes -->

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