lnbPicture: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns the picture name or path of the item with the given position of the 2D listbox. |= | | Returns the picture name or path of the item with the given position of the 2D listbox. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''lnbPicture''' [IDC, [row, column]] |= | | '''lnbPicture''' [IDC, [row, column]] |SYNTAX= | ||
|p1= [IDC, [row, column]]: [[Array]] |PARAMETER1= | |p1= [IDC, [row, column]]: [[Array]] |PARAMETER1= | ||
|p2= IDC: [[Number]] - Number of [[Control]] |PARAMETER2= | |p2= IDC: [[Number]] - Number of [[Control]] |PARAMETER2= | ||
Line 21: | Line 21: | ||
| [[String]] |RETURNVALUE= | | [[String]] |RETURNVALUE= | ||
|s2= control '''lnbPicture''' [row, column] |= | |s2= control '''lnbPicture''' [row, column] |SYNTAX= | ||
|p21= Control: [[Control]] |PARAMETER1= | |p21= Control: [[Control]] |PARAMETER1= | ||
|p22= [row, column]: [[Array]] |PARAMETER2= | |p22= [row, column]: [[Array]] |PARAMETER2= | ||
Line 29: | Line 29: | ||
|x1= <code>[[lnbPicture]] [200, [1, 1]];</code>|= | |x1= <code>[[lnbPicture]] [200, [1, 1]];</code>|EXAMPLE1= | ||
|x2= <code>_control [[lnbPicture]] [1, 1]; //"a3\ui_f\data\gui\cfg\ranks\corporal_gs.paa"</code>|= | |x2= <code>_control [[lnbPicture]] [1, 1]; //"a3\ui_f\data\gui\cfg\ranks\corporal_gs.paa"</code>|EXAMPLE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:43, 7 April 2019
Description
- Description:
- Returns the picture name or path of the item with the given position of the 2D listbox.
- Groups:
- Uncategorised
Syntax
- Syntax:
- lnbPicture [IDC, [row, column]]
- Parameters:
- [IDC, [row, column]]: Array
- IDC: Number - Number of Control
- row: Number - Index of Row
- column: Number - Index of Column
- Return Value:
- String
Alternative Syntax
- Syntax:
- control lnbPicture [row, column]
- Parameters:
- Control: Control
- [row, column]: Array
- row: Number - Index of Row in given Control
- column: Number - Index of Column in given Control
- Return Value:
- String
Examples
- Example 1:
lnbPicture [200, [1, 1]];
- Example 2:
_control lnbPicture [1, 1]; //"a3\ui_f\data\gui\cfg\ranks\corporal_gs.paa"
Additional Information
- See also:
- lnbAddArraylnbAddColumnlnbAddRowlnbClearlnbColorlnbCurSelRowlnbDatalnbDeleteColumnlnbDeleteRowlnbGetColumnsPositionlnbSetColorlnbSetColumnsPoslnbSetCurSelRowlnbSetDatalnbSetPicturelnbSetTextlnbSetValuelnbSizelnbTextlnbValue
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
Notes
Bottom Section
Categories:
- Scripting Commands
- Introduced with Arma 2 version 1.00
- Arma 2: New Scripting Commands
- Arma 2: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Local Effect
- ArmA 2: New Scripting Commands List
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- Command Group: GUI Control