lnbPicture: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Fred Gandt (talk | contribs) m (General tidy + "see also") |
||
Line 25: | Line 25: | ||
|x1= <code>lnbPicture [200, [1, 1]]</code>|= | |x1= <code>[[lnbPicture]] [200, [1, 1]];</code>|= Example 1 | ||
|x2= <code>_control [[lnbPicture]] [1, 1];</code>|= Example 2 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[lnbSetPicture]] |= SEEALSO | | [[lnbAddArray]], [[lnbAddColumn]], [[lnbAddRow]], [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbSetColor]], [[lnbsetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]], [[lnbValue]] |= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 05:51, 11 April 2014
Description
- Description:
- Returns the picture name 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: Identifier Number of Control
- Row: Index Number of Row
- Column: Index Number of Column
- Return Value:
- String
Alternative Syntax
- Syntax:
- control lnbPicture [row, column]
- Parameters:
- Control: Given Control
- [row, column]: Array
- Row: Index Number of Row in given Control
- Column: Index Number of Column in given Control
- Return Value:
- String
Examples
- Example 1:
lnbPicture [200, [1, 1]];
- Example 2:
_control lnbPicture [1, 1];
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
-
Arma style syntax:
_ctrlTable lnbPicture [_row, _col] // _ctrlTable of Control type
Example:
private "_dspl";
disableSerialization;
waitUntil {
_dspl = findDisplay 106;
! isNull _dspl;
};
_ctrlTable = _dspl displayCtrl 105;
hint str (_ctrlTable lnbPicture [0, 1]);