ctSetValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(format, categories)
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
____________________________________________________________________________________________
____________________________________________________________________________________________


|arma3dev |= Game
|arma3 |= Game
|1.68|= Game Version
|1.70|= Game Version
|arg= local |= Arguments in MP
|eff= local |= Effects in MP
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 11: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[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 19:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_control [[ctSetValue]] 0;</code> |= Example 1
|x1= <code>_control [[ctSetValue]] [0, 23];</code> |= Example 1


____________________________________________________________________________________________
____________________________________________________________________________________________
Line 36: Line 35:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|LBADD]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|LBADD]]
[[Category:Scripting Commands ArmA|LBADD]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[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

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