lnbSetPicture: Difference between revisions
Jump to navigation
Jump to search
m (page modified) |
(page modified) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | | ||
*Sets the picture in the item with the given position of the 2D listbox. | *Sets the picture in the item with the given position of the 2D listbox. | ||
*Name is the picture name. | *Name is the picture name. | ||
Line 13: | Line 13: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[lnbSetPicture]] [IDC([[Number]]), [ Row([[Number]]), Column([[Number]]) ], PicturePathOrPictureName([[String]])] | | [[lnbSetPicture]] [IDC([[Number]]), [Row([[Number]]), Column([[Number]]) ], PicturePathOrPictureName([[String]])] |= Syntax | ||
|p1= [ [[Number]], [ [[Number]], [[Number]] ], [[String]] ]: [[Array]] |= | | p1= [ [[Number]], [ [[Number]], [[Number]] ], [[String]] ]: [[Array]] |= Parameter 1 | ||
| [[Nothing]] |= | |||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
| s2= _ctrl [[lnbSetPicture]] [ [Row([[Number]]), Column([[Number]])], PicturePathOrPictureName([[String]])] |= Syntax | |||
| p21= _ctrl: [[Control]] |= Parameter 1 | |||
| p22= [ [Row([[Number]]), Column([[Number]])], PicturePathOrPictureName([[String]])]: [[Array]] |= Parameter 2 | |||
| r2= [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <code>[[lnbSetPicture]] [1, [0, 0], "Picture"];</code>|= Example 1 | |x1= <code>[[lnbSetPicture]] [1, [0, 0], "Picture"];</code>|= Example 1 | ||
|x2= <code>_ctrl [[lnbSetPicture]] [ [0, 0], "\A3\Ui_f\data\GUI\Cfg\Ranks\lieutenant_gs.paa"];</code>|= Example 2 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 32: | Line 45: | ||
<dl class='command_description'> | <dl class='command_description'> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> | ||
Line 41: | Line 53: | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]] | ||
Revision as of 07:51, 9 September 2014
Description
- Description:
-
- Sets the picture in the item with the given position of the 2D listbox.
- Name is the picture name.
- The picture is searched in the mission, directory, the dtaExt subdirectory of the campaign directory, and the dtaExt directory and the data bank (or directory).
- Groups:
- Uncategorised
Syntax
- Syntax:
- lnbSetPicture [IDC(Number), [Row(Number), Column(Number) ], PicturePathOrPictureName(String)]
- Parameters:
- [ Number, [ Number, Number ], String ]: Array
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- _ctrl lnbSetPicture [ [Row(Number), Column(Number)], PicturePathOrPictureName(String)]
- Parameters:
- _ctrl: Control
- [ [Row(Number), Column(Number)], PicturePathOrPictureName(String)]: Array
- Return Value:
- Nothing
Examples
- Example 1:
lnbSetPicture [1, [0, 0], "Picture"];
- Example 2:
_ctrl lnbSetPicture [ [0, 0], "\A3\Ui_f\data\GUI\Cfg\Ranks\lieutenant_gs.paa"];
Additional Information
- See also:
- lnbAddArraylnbAddColumnlnbAddRowlnbClearlnbColorlnbCurSelRowlnbDatalnbDeleteColumnlnbDeleteRowlnbGetColumnsPositionlnbPicturelnbSetColorlnbSetColumnsPoslnbSetCurSelRowlnbSetDatalnbSetTextlnbSetValuelnbSizelnbTextlnbValue
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