lnbText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (control cat added)
m (Some wiki formatting)
 
(60 intermediate revisions by 6 users 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


| Returns the shown text in the item with the given position of the given 2D listbox. |= Description
|game3= tkoh
____________________________________________________________________________________________
|version3= 1.00


| control '''lnbText''' [row,column] |= Syntax
|game4= arma3
|version4= 0.50


|p1= control: [[Control]] -  |= PARAMETER1
|arg= local


|p2= [row,column]: [[Array]] -  |= PARAMETER2
|eff= local


|p3= |= PARAMETER3
|gr1= GUI Control - ListNBox


| [[String]] |= RETURNVALUE
|descr= Returns the shown text in the item with the given position of the given 2D listbox.


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


|x1= <code>{{Example needed}}</code>|= Example 1
|p1= control: [[Control]]
____________________________________________________________________________________________


| [[lnbAddArray]], [[lnbAddColumn]], [[lnbAddRow]], [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbsetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbValue]] |= SEEALSO
|p2= row: [[Number]]


| |= MPBEHAVIOUR
|p3= column: [[Number]]
____________________________________________________________________________________________
}}


<h3 style='display:none'>Notes</h3>
|r1= [[String]]
<dl class='command_description'>
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x1= <sqf>_text = _ctrl lnbText [0,0];</sqf>
</dl>


<h3 style='display:none'>Bottom Section</h3>
|seealso= [[lnbAddArray]] [[lnbAddColumn]] [[lnbAddRow]] [[lnbClear]] [[lnbColor]] [[lnbCurSelRow]] [[lnbData]] [[lnbDeleteColumn]] [[lnbDeleteRow]] [[lnbGetColumnsPosition]] [[lnbPicture]] [[lnbSetColor]] [[lnbSetColumnsPos]] [[lnbSetCurSelRow]] [[lnbSetData]] [[lnbSetPicture]] [[lnbSetText]] [[lnbSetValue]] [[lnbSize]] [[lnbValue]]
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
}}
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{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