lnbValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
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= <code>_ctrl lnbValue [0,0]; {{cc|1, default is 0 if value is [[String]] set by [[lnbSetValue]]}}</code>


|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]]
}}
}}

Revision as of 11:10, 12 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