lnbSetData: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
 
(14 intermediate revisions by 2 users not shown)
Line 19: Line 19:
|s1= [[lnbSetData]] [idc, [row, column], data]
|s1= [[lnbSetData]] [idc, [row, column], data]


|p1= [idc, [row, column], data]: [[Array]]
|p1= idc: [[Number]]
|p2= idc: [[Number]]
 
|p3= [row, column]: [[Array]]
|p2= row: [[Number]]
|p4= row: [[Number]]
 
|p5= column: [[Number]]
|p3= column: [[Number]]
|p6= data: [[String]] - The invisible text to add
 
|p4= data: [[String]] - the invisible text to add


|r1= [[Nothing]]
|r1= [[Nothing]]
Line 31: Line 32:


|p21= ctrl: [[Control]]
|p21= ctrl: [[Control]]
|p22= [<nowiki/>[row, column], data]: [[Array]]
 
|p23= [row, column]: [[Array]]
|p22= row: [[Number]]
|p24= row: [[Number]]
 
|p25= column: [[Number]]
|p23= column: [[Number]]
|p26= data: [[String]] - The invisible text to add
 
|p24= data: [[String]] - the invisible text to add


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


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


|seealso= [[lnbSetTooltip]] [[lnbAddArray]] [[lnbAddColumn]] [[lnbAddRow]] [[lnbClear]] [[lnbColor]] [[lnbCurSelRow]] [[lnbData]] [[lnbDeleteColumn]] [[lnbDeleteRow]] [[lnbGetColumnsPosition]] [[lnbPicture]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]], [[lnbValue]]
|seealso= [[lnbSetTooltip]] [[lnbAddArray]] [[lnbAddColumn]] [[lnbAddRow]] [[lnbClear]] [[lnbColor]] [[lnbCurSelRow]] [[lnbData]] [[lnbDeleteColumn]] [[lnbDeleteRow]] [[lnbGetColumnsPosition]] [[lnbPicture]] [[lnbSetColor]] [[lnbSetColumnsPos]] [[lnbSetCurSelRow]] [[lnbSetPicture]] [[lnbSetText]] [[lnbSetValue]] [[lnbSize]] [[lnbText]] [[lnbValue]]
}}
}}

Latest revision as of 15: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