lnbText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|M...)
m (Some wiki formatting)
 
(34 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma2
|game1= arma2
|version1= 1.00


|1.00
|game2= arma2oa
|version2= 1.50
 
|game3= tkoh
|version3= 1.00
 
|game4= arma3
|version4= 0.50


|arg= local
|arg= local
Line 11: Line 19:
|gr1= GUI Control - ListNBox
|gr1= GUI Control - ListNBox


| 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.


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


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


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


|p3= column: [[Number]]


|x1= <code>_ctrl [[lnbText]] [0,0];</code>
|r1= [[String]]


| [[lnbAddArray]], [[lnbAddColumn]], [[lnbAddRow]], [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbValue]]
|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]]
}}
}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

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