lnbPicture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added Command Group and Example and Links)
Line 57: Line 57:
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 11:16, 2 November 2011

Hover & click on the images for description

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:
lnbSetPicture

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]);

Bottom Section