ctValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
Line 6: Line 6:
|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.


|s1=  control '''ctValue''' index
|s1=  control '''ctValue''' index

Revision as of 21:01, 13 June 2021

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:
ctAddRowctAddHeaderctClearctCurSelctSetCurSelctRowControlsctHeaderControlsctRowCountctHeaderCountctSetValuectSetDatactDatactFindRowHeaderctFindHeaderRowsctRemoveRowsctRemoveHeadersctSetRowTemplatectSetHeaderTemplate

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