lnbSetData: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\| * )+\}\}" to "}}")
m (Text replacement - " {3,}\|" to " |")
Line 19: Line 19:


| [[Nothing]]
| [[Nothing]]


| s2= ctrl [[lnbSetData]] [<nowiki/>[row, column], data]
| s2= ctrl [[lnbSetData]] [<nowiki/>[row, column], data]
Line 32: Line 30:


|r2= [[Nothing]]
|r2= [[Nothing]]


|x1= <code>[[lnbSetData]] [123, [0,0],"#1"];</code>
|x1= <code>[[lnbSetData]] [123, [0,0],"#1"];</code>

Revision as of 18:40, 18 January 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