ctSetValue: Difference between revisions
Jump to navigation
Jump to search
(Fix syntax and example) |
m (template:command argument fix) |
||
(One intermediate revision by one other user not shown) | |||
Line 4: | Line 4: | ||
|arma3 |= Game | |arma3 |= Game | ||
|1.70|= Game Version | |1.70|= Game Version | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Associates metadata (number) with the row determined by the index. Returns Nothing. |= | | Associates metadata (number) with the row determined by the index. Returns Nothing. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | control '''ctSetValue''' [index, value] |SYNTAX= | ||
|p1= control: [[Control]] |= | |p1= control: [[Control]] |PARAMETER1= | ||
|p2= index: [[Number]] |= | |p2= index: [[Number]] |PARAMETER2= | ||
|p3= value: [[Number]] |= | |p3= value: [[Number]] |PARAMETER3= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_control [[ctSetValue]] [0, 23];</code> |= | |x1= <code>_control [[ctSetValue]] [0, 23];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[ctAddRow]], [[ctAddHeader]], [[ctClear]], [[ctCurSel]], [[ctRowControls]], [[ctHeaderControls]], [[ctRowCount]], [[ctHeaderCount]], [[ctSetCurSel]], [[ctValue]], [[ctSetData]], [[ctData]], [[ctFindRowHeader]], [[ctFindHeaderRows]], [[ctRemoveRows]], [[ctRemoveHeaders]], [[ctSetRowTemplate]], [[ctSetHeaderTemplate]] |= | | [[ctAddRow]], [[ctAddHeader]], [[ctClear]], [[ctCurSel]], [[ctRowControls]], [[ctHeaderControls]], [[ctRowCount]], [[ctHeaderCount]], [[ctSetCurSel]], [[ctValue]], [[ctSetData]], [[ctData]], [[ctFindRowHeader]], [[ctFindHeaderRows]], [[ctRemoveRows]], [[ctRemoveHeaders]], [[ctSetRowTemplate]], [[ctSetHeaderTemplate]] |SEEALSO= | ||
}} | }} | ||
Line 37: | Line 35: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]] | [[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 15:37, 7 April 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