lnbSetData: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
 
Line 25: Line 25:
|p3= column: [[Number]]
|p3= column: [[Number]]


|p4= data: [[String]] - The invisible text to add
|p4= data: [[String]] - the invisible text to add


|r1= [[Nothing]]
|r1= [[Nothing]]
Line 37: Line 37:
|p23= column: [[Number]]
|p23= column: [[Number]]


|p24= data: [[String]] - The invisible text to add
|p24= data: [[String]] - the invisible text to add


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

Latest revision as of 16:50, 8 November 2023

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: Number
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: 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:
lnbSetTooltip lnbAddArray lnbAddColumn lnbAddRow lnbClear lnbColor lnbCurSelRow lnbData lnbDeleteColumn lnbDeleteRow lnbGetColumnsPosition lnbPicture lnbSetColor lnbSetColumnsPos lnbSetCurSelRow lnbSetPicture lnbSetText lnbSetValue lnbSize lnbText lnbValue

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