ctSetValue: Difference between revisions

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


| [[Control]] '''ctSetValue''' [[Number]] |= Syntax
| [[Control]] '''ctSetValue''' [index, value] |= Syntax


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


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
Line 20: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_control [[ctSetValue]] 0;</code> |= Example 1
|x1= <code>_control [[ctSetValue]] [0, 23];</code> |= Example 1


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 14:17, 3 March 2019

Hover & click on the images for description

Description

Description:
Associates metadata (number) with the row determined by the index. Returns Nothing.
Groups:
Uncategorised

Syntax

Syntax:
Control ctSetValue [index, value]
Parameters:
control: Control
index: Number
value: Number
Return Value:
Nothing

Examples

Example 1:
_control ctSetValue [0, 23];

Additional Information

See also:
ctAddRowctAddHeaderctClearctCurSelctRowControlsctHeaderControlsctRowCountctHeaderCountctSetCurSelctValuectSetDatactDatactFindRowHeaderctFindHeaderRowsctRemoveRowsctRemoveHeadersctSetRowTemplatectSetHeaderTemplate

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