lnbPicture: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|arg= local | |arg= local | ||
|eff= local | |eff= local | ||
|gr1= GUI Control - ListNBox | |gr1= GUI Control - ListNBox | ||
| 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. | ||
| '''lnbPicture''' [idc, [row, column]] | | '''lnbPicture''' [idc, [row, column]] | ||
|p1= idc: [[Number]] - Number of [[Control]] | |p1= idc: [[Number]] - Number of [[Control]] | ||
|p2= row: [[Number]] - Index of Row | |p2= row: [[Number]] - Index of Row | ||
|p3= column: [[Number]] - Index of Column | |p3= column: [[Number]] - Index of Column | ||
| [[String]] | | [[String]] | ||
|s2= control '''lnbPicture''' [row, column] | |s2= control '''lnbPicture''' [row, column] | ||
|p21= Control: [[Control]] |PARAMETER21= | |p21= Control: [[Control]] |PARAMETER21= | ||
Line 31: | Line 31: | ||
|p23= column: [[Number]] - Index of Column in given Control |PARAMETER23= | |p23= column: [[Number]] - Index of Column in given Control |PARAMETER23= | ||
|r2= [[String]] | |r2= [[String]] | ||
|x1= <code>[[lnbPicture]] [200, [1, 1]];</code> | |x1= <code>[[lnbPicture]] [200, [1, 1]];</code> | ||
|x2= <code>_control [[lnbPicture]] [1, 1]; {{cc|"a3\ui_f\data\gui\cfg\ranks\corporal_gs.paa"</code>}} | |x2= <code>_control [[lnbPicture]] [1, 1]; {{cc|"a3\ui_f\data\gui\cfg\ranks\corporal_gs.paa"</code>}} | ||
| [[lnbAddArray]], [[lnbAddColumn]], [[lnbAddRow]], [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]], [[lnbValue]] | | [[lnbAddArray]], [[lnbAddColumn]], [[lnbAddRow]], [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]], [[lnbValue]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 01:06, 18 January 2021
Description
- Description:
- Returns the picture name or path of the item with the given position of the 2D listbox.
- Groups:
- GUI Control - ListNBox
Syntax
- Syntax:
- lnbPicture [idc, [row, column]]
- Parameters:
- 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: 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