ctSetValue: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ |arma3dev |= Game |1.68|= Game Version |arg= local |= Argume...") |
Killzone Kid (talk | contribs) (format, categories) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | |arma3 |= Game | ||
|1. | |1.70|= Game Version | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 11: | Line 9: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | 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 19: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_control [[ctSetValue]] 0;</code> |= Example 1 | |x1= <code>_control [[ctSetValue]] [0, 23];</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[ctAddRow]], [[ctAddHeader]], [[ctClear]], [[ctCurSel]], [[ctRowControls]], [[ctHeaderControls]], [[ctRowCount]], [[ctHeaderCount]], [[ctSetCurSel]], [[ctValue]], [[ctSetData]], [[ctData]], [[ctFindRowHeader]], [[ctFindHeaderRows]], [[ctRemoveRows]], [[ctRemoveHeaders]], [[ | | [[ctAddRow]], [[ctAddHeader]], [[ctClear]], [[ctCurSel]], [[ctRowControls]], [[ctHeaderControls]], [[ctRowCount]], [[ctHeaderCount]], [[ctSetCurSel]], [[ctValue]], [[ctSetData]], [[ctData]], [[ctFindRowHeader]], [[ctFindHeaderRows]], [[ctRemoveRows]], [[ctRemoveHeaders]], [[ctSetRowTemplate]], [[ctSetHeaderTemplate]] |= See also | ||
}} | }} | ||
Line 36: | 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: | [[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | |||
<!-- CONTINUE Notes --> | <!-- CONTINUE Notes --> | ||
<!-- DISCONTINUE Notes --> | <!-- DISCONTINUE Notes --> |
Revision as of 15:43, 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