Arma 3 Scripting

lbSetData

  • Arma 3 v0.50
  • First in Operation Flashpoint v1.75

Command · Markdown · JSON · original wiki page

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.

Note

See more information on the CT_LISTBOX command family here.

Syntax

Syntax 1

lbSetData [idc, index, data]

Parameters:

Returns: Nothing

Syntax 2

control lbSetData [index, data]

Parameters:

Returns: Nothing

Examples

Example 1

lbSetData [101, 1, "#1"];

Example 2

_control lbSetData [1, "#1"];

See also

lbData · lbDelete · lbSetValue · lbValue