ctSetValue: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Fix syntax and example) |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Control]] '''ctSetValue''' [ | | [[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 13:17, 3 March 2019
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
Categories:
- Scripting Commands
- Introduced with Arma 3 version 1.70
- Arma 3: New Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Local Effect
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands ArmA
- Command Group: GUI Control
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- Arma 3: New Scripting Commands List