lnbPicture: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|M...) |
Lou Montana (talk | contribs) m (Text replacement - "\] +\[" to "] [") |
||
(44 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma2 | |game1= arma2 | ||
|version1= 1.00 | |||
|1.00 | |game2= arma2oa | ||
|version2= 1.50 | |||
|game3= tkoh | |||
|version3= 1.00 | |||
|game4= arma3 | |||
|version4= 0.50 | |||
|arg= local | |arg= local | ||
Line 11: | Line 19: | ||
|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. | |descr= Returns the picture name or path of the item with the given position of the 2D listbox. | ||
| | |s1= [[lnbPicture]] [idc, [row, column]] | ||
|p1= idc: [[Number]] - | |p1= idc: [[Number]] - number of [[Control]] | ||
|p2= row: [[Number]] - | |p2= row: [[Number]] - index of Row | ||
|p3= column: [[Number]] - | |p3= column: [[Number]] - index of Column | ||
| [[String]] | |r1= [[String]] | ||
|s2= control | |s2= control [[lnbPicture]] [row, column] | ||
|p21= | |p21= control: [[Control]] | ||
|p22= row: [[Number]] - | |p22= row: [[Number]] - index of Row in given Control | ||
|p23= column: [[Number]] - | |p23= column: [[Number]] - index of Column in given Control | ||
|r2= [[String]] | |r2= [[String]] | ||
|x1= < | |x1= <sqf>lnbPicture [200, [1, 1]];</sqf> | ||
| [ | |x2= <sqf>_control lnbPicture [1, 1]; // "a3\ui_f\data\gui\cfg\ranks\corporal_gs.paa"</sqf> | ||
| | |seealso= [[lnbAddArray]] [[lnbAddColumn]] [[lnbAddRow]] [[lnbClear]] [[lnbColor]] [[lnbCurSelRow]] [[lnbData]] [[lnbDeleteColumn]] [[lnbDeleteRow]] [[lnbGetColumnsPosition]] [[lnbSetColor]] [[lnbSetColumnsPos]] [[lnbSetCurSelRow]] [[lnbSetData]] [[lnbSetPicture]] [[lnbSetText]] [[lnbSetValue]] [[lnbSize]] [[lnbText]] [[lnbValue]] | ||
}} | }} | ||
Latest revision as of 11:46, 5 May 2024
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:
- lnbAddArray lnbAddColumn lnbAddRow lnbClear lnbColor lnbCurSelRow lnbData lnbDeleteColumn lnbDeleteRow lnbGetColumnsPosition lnbSetColor lnbSetColumnsPos lnbSetCurSelRow lnbSetData lnbSetPicture lnbSetText lnbSetValue lnbSize lnbText 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