lbSetValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added Link)
m (VBS2 scripting category removal)
Line 50: Line 50:
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands VBS2|{{uc:{{PAGENAME}}}}]]

Revision as of 06:14, 19 July 2011

Hover & click on the images for description

Description

Description:
Sets the additional integer value in the item with the given index of the listbox or combobox with id idc of the topmost user dialog to the given value.
Groups:
Uncategorised

Syntax

Syntax:
lbSetValue [idc, index, value]
Parameters:
[idc, index, value]: Array
idc: Number of control
index: Number
value: Number
Return Value:
Nothing

Alternative Syntax

Syntax:
control lbSetValue [index, value]
Parameters:
control: Control
[index, value]: Array
idc: Number of control
value: Number
Return Value:
Nothing

Examples

Example 1:
lbSetValue [101, 0, 1]
Example 2:
_control lbSetValue [0, 1]

Additional Information

See also:
lbSortByValuelbValue

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