lnbPicture: Difference between revisions
Jump to navigation
Jump to search
BrettMayson (talk | contribs) mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *I([a-z ])" to "$1 - i$2") |
||
Line 25: | Line 25: | ||
|p1= idc: [[Number]] - Number of [[Control]] | |p1= idc: [[Number]] - Number of [[Control]] | ||
|p2= row: [[Number]] - | |p2= row: [[Number]] - index of Row | ||
|p3= column: [[Number]] - | |p3= column: [[Number]] - index of Column | ||
|r1= [[String]] | |r1= [[String]] | ||
Line 35: | Line 35: | ||
|p21= control: [[Control]] | |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]] |
Revision as of 15:33, 8 November 2023
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