lnbSetData: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma2 *\| *(New )?Scripting Commands\}\}" to "")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
Line 15: Line 15:
|gr1= GUI Control - ListNBox
|gr1= GUI Control - ListNBox


| Sets the additional text (invisible) on the item with the given position of the 2D listbox.
|descr= Sets the additional text (invisible) on the item with the given position of the 2D listbox.


|s1=  [[lnbSetData]] [idc, [row, column], data]
|s1=  [[lnbSetData]] [idc, [row, column], data]

Revision as of 21:10, 13 June 2021

Hover & click on the images for description

Description

Description:
Sets the additional text (invisible) on the item with the given position of the 2D listbox.
Groups:
GUI Control - ListNBox

Syntax

Syntax:
lnbSetData [idc, [row, column], data]
Parameters:
[idc, [row, column], data]: Array
idc: Number
[row, column]: Array
row: Number
column: Number
data: String - The invisible text to add
Return Value:
Nothing

Alternative Syntax

Syntax:
ctrl lnbSetData [[row, column], data]
Parameters:
ctrl: Control
[[row, column], data]: Array
[row, column]: Array
row: Number
column: Number
data: String - The invisible text to add
Return Value:
Nothing

Examples

Example 1:
lnbSetData [123, [0,0],"#1"];
Example 2:
_ctrl lnbSetData [[0,0],"#1"];

Additional Information

See also:
lnbSetTooltiplnbAddArraylnbAddColumnlnbAddRowlnbClearlnbColorlnbCurSelRowlnbDatalnbDeleteColumnlnbDeleteRowlnbGetColumnsPositionlnbPicturelnbSetColorlnbSetColumnsPoslnbSetCurSelRowlnbSetPicturelnbSetTextlnbSetValuelnbSizelnbTextlnbValue

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