Arma 3 Scripting

Command in GUI Control - ListNBox

lnbSetText

Also available as Markdown and JSON, or read the original wiki page.

Description

Sets the text in the item with the given position of the 2D listbox.

Syntax

Syntax 1

lnbSetText [idc, [row, column], data]

Parameters:

Returns: Nothing

Syntax 2

ctrl lnbSetText [[row, column], data]

Parameters:

Returns: Nothing

Examples

Example 1

lnbSetText [101, [0,1], "#1"];

Example 2

_ctrl lnbSetText [[0,1], "#1"];

See also

lnbAddArray · lnbAddColumn · lnbAddRow · lnbClear · lnbColor · lnbCurSelRow · lnbData · lnbDeleteColumn · lnbDeleteRow · lnbGetColumnsPosition · lnbPicture · lnbSetColor · lnbSetColumnsPos · lnbSetCurSelRow · lnbSetData · lnbSetPicture · lnbSetValue · lnbSize · lnbText · lnbValue