lnbText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)\]\]" to "{{GameCategory|arma2|Scripting Commands}}")
m (Some wiki formatting)
 
(38 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma2 |Game name=
|game1= arma2
|version1= 1.00


|1.00|Game version=
|game2= arma2oa
|version2= 1.50


|arg= local |Multiplayer Arguments=
|game3= tkoh
|version3= 1.00


|eff= local |Multiplayer Effects=
|game4= arma3
|version4= 0.50


|gr1= GUI Control - ListNBox |GROUP1=
|arg= local
____________________________________________________________________________________________


| Returns the shown text in the item with the given position of the given 2D listbox. |DESCRIPTION=
|eff= local
____________________________________________________________________________________________


| control [[lnbText]] [row,column] |SYNTAX=
|gr1= GUI Control - ListNBox


|p1= control: [[Control]]  |PARAMETER1=  
|descr= Returns the shown text in the item with the given position of the given 2D listbox.


|p2= [row,column]: [[Array]]  |PARAMETER2=
|s1= control [[lnbText]] [row, column]


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


|p2= row: [[Number]]


|x1= <code>_ctrl [[lnbText]] [0,0];</code>|EXAMPLE1=
|p3= column: [[Number]]
____________________________________________________________________________________________


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


| |MPBEHAVIOUR=  
|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}}
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[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