ctValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(Fixed syntax)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Number]] <nowiki>=</nowiki> '''ctValue''' [[Control]] |= Syntax
| [[Number]] <nowiki>=</nowiki> [[Control]] '''ctValue''' [[Number]] |= Syntax


|p1= control: [[Control]] |= Parameter 1
|p1= control: [[Control]] |= Parameter 1
|p2= index: [[Number]] |= Parameter 2


| [[Number]] |= Return value
| [[Number]] |= Return value
Line 19: Line 20:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_number = [[ctValue]] _control;</code> |= Example 1
|x1= <code>_number = _control [[ctValue]] 0;</code> |= Example 1


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 13:25, 3 March 2019

Hover & click on the images for description

Description

Description:
Returns metadata (number) associated with a particular row of RscControlsTable.
Groups:
Uncategorised

Syntax

Syntax:
Number = Control ctValue Number
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

Notes

Bottom Section