lnbSetData: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
Line 17: Line 17:
|descr= 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]


|p1= [idc, [row, column], data]: [[Array]]
|p1= [idc, [row, column], data]: [[Array]]

Revision as of 22:29, 19 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