Arma 3 Scripting

Command in GUI Control - ListNBox

lnbSetTooltip

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

Description

Sets tooltip on the item with the given row and column of CT_LISTNBOX.

Important

By default, tooltips are added for all columns no matter what column index is provided. This behaviour can be overwritten since Arma 3 v2.02 by setting the control's property tooltipPerColumn to true. See CT_LISTNBOX documentation.

Syntax

Syntax 1

lnbSetTooltip [idc, [row, column], text]

Parameters:

Returns: Nothing

Syntax 2

ctrl lnbSetTooltip [[row, column], text]

Parameters:

Returns: Nothing

Examples

Example 1

lnbSetTooltip [1234, [1,0], "tip"];

Example 2

_ctrl lnbSetTooltip [[3,0], "top"];

See also

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