lnbText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Some wiki formatting)
 
(2 intermediate revisions by the same user not shown)
Line 21: Line 21:
|descr= Returns the shown text in the item with the given position of the given 2D listbox.
|descr= Returns the shown text in the item with the given position of the given 2D listbox.


|s1= control [[lnbText]] [row,column]
|s1= control [[lnbText]] [row, column]


|p1= control: [[Control]]
|p1= control: [[Control]]


|p2= [row,column]: [[Array]]
|p2= row: [[Number]]
 
|p3= column: [[Number]]


|r1= [[String]]
|r1= [[String]]


|x1= <code>_ctrl [[lnbText]] [0,0];</code>
|x1= <sqf>_text = _ctrl lnbText [0,0];</sqf>


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

Latest revision as of 20:54, 21 August 2022

Hover & click on the images for description

Description

Description:
Returns the shown text in the item with the given position of the given 2D listbox.
Groups:
GUI Control - ListNBox

Syntax

Syntax:
control lnbText [row, column]
Parameters:
control: Control
row: Number
column: Number
Return Value:
String

Examples

Example 1:
_text = _ctrl lnbText [0,0];

Additional Information

See also:
lnbAddArray lnbAddColumn lnbAddRow lnbClear lnbColor lnbCurSelRow lnbData lnbDeleteColumn lnbDeleteRow lnbGetColumnsPosition lnbPicture lnbSetColor lnbSetColumnsPos lnbSetCurSelRow lnbSetData lnbSetPicture lnbSetText lnbSetValue lnbSize 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