lbSetData

From Bohemia Interactive Community
Revision as of 23:34, 12 April 2021 by Lou Montana (talk | contribs) (Text replacement - " |game5= arma2oa |version5= 1.51" to " |game5= arma2oa |version5= 1.50")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Sets the additional text (invisible) in the item with the given index of the listbox or combobox with id idc of the topmost user dialog to the given data.
See more information on the CT_LISTBOX command family here.
Groups:
GUI Control - ListBox

Syntax

Syntax:
lbSetData [idc, index, data]
Parameters:
idc: Number - control's IDC
index: Number
data: String
Return Value:
Nothing

Alternative Syntax

Syntax:
control lbSetData [index, data]
Parameters:
control: Control
index: Number
data: String
Return Value:
Nothing

Examples

Example 1:
lbSetData [101, 1, "#1"];
Example 2:
_control lbSetData [1, "#1"];

Additional Information

See also:
lbDatalbDeletelbSetValuelbValue

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