lnbValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| arma2 \| *([0-9]\.[0-9]{2}) * " to " | arma2 |$1 |game2= arma2oa |version2= 1.50 |game3= tkoh |version3= 1.00 |game4= arma3 |version4= 0.50 ")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2
|game1= arma2
|1.00
|version1= 1.00


|game2= arma2oa
|game2= arma2oa
Line 15: Line 15:
|gr1= GUI Control - ListNBox
|gr1= GUI Control - ListNBox


| Returns the additional integer value in the item with the given position of the 2D listbox.
|descr= Returns the additional integer value in the item with the given position of the 2D listbox.


| [[lnbValue]] [idc, [row, column]]
|s1= [[lnbValue]] [idc, [row, column]]


|p1= idc: [[Number]]
|p1= idc: [[Number]]
Line 25: Line 25:
|p3= column: [[Number]]
|p3= column: [[Number]]


| [[Number]]
|r1= [[Number]]


|s2= ctrl [[lnbValue]] [row, column]
|s2= ctrl [[lnbValue]] [row, column]
Line 37: Line 37:
|r2= [[Number]]
|r2= [[Number]]


|x1= <code>_ctrl [[lnbValue]] [0,0]; {{cc|1, default is 0 if value is [[String]] set by [[lnbSetValue]]}} </code>
|x1= <sqf>_ctrl lnbValue [0,0]; // 1, default is 0 if value is String set by lnbSetValue</sqf>


|seealso= [[lnbAddArray]], [[lnbAddColumn]], [[lnbAddRow]], [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]]
|seealso= [[lnbAddArray]] [[lnbAddColumn]] [[lnbAddRow]] [[lnbClear]] [[lnbColor]] [[lnbCurSelRow]] [[lnbData]] [[lnbDeleteColumn]] [[lnbDeleteRow]] [[lnbGetColumnsPosition]] [[lnbPicture]] [[lnbSetColor]] [[lnbSetColumnsPos]] [[lnbSetCurSelRow]] [[lnbSetData]] [[lnbSetPicture]] [[lnbSetText]] [[lnbSetValue]] [[lnbSize]] [[lnbText]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 11:24, 13 May 2022

Hover & click on the images for description

Description

Description:
Returns the additional integer value in the item with the given position of the 2D listbox.
Groups:
GUI Control - ListNBox

Syntax

Syntax:
lnbValue [idc, [row, column]]
Parameters:
idc: Number
row: Number
column: Number
Return Value:
Number

Alternative Syntax

Syntax:
ctrl lnbValue [row, column]
Parameters:
ctrl: Control
row: Number
column: Number
Return Value:
Number

Examples

Example 1:
_ctrl lnbValue [0,0]; // 1, default is 0 if value is String set by lnbSetValue

Additional Information

See also:
lnbAddArray lnbAddColumn lnbAddRow lnbClear lnbColor lnbCurSelRow lnbData lnbDeleteColumn lnbDeleteRow lnbGetColumnsPosition lnbPicture lnbSetColor lnbSetColumnsPos lnbSetCurSelRow lnbSetData lnbSetPicture lnbSetText lnbSetValue lnbSize lnbText

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