lbSetPicture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|LBSETPICTURE]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|LBSETPICTURE]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|LBSETPICTURE]]


| ofpr |= Game name


<h2 style="color:#000066"> '''lbSetPicture [''idc'', ''index'', ''name'']'''</h2>
|1.5|= Game version
____________________________________________________________________________________________


| Set picture in item with given index of listbox or combobox with id idc of topmost user [[dialog]]. Picture name is name, picture is searched for in mission directory, subdirectory dtaExt of campaign directory, directory dtaExt and bank (or directory) data. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''lbSetPicture''' |= Syntax


'''[idc, index, name]:''' [[Array]]
|p1= [idc, index, name]: [[Array]] |= Parameter 1


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>lbSetPicture [101, 0, "iskoda"]</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


Added in version '''1.50'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Set picture in item with given '''index''' of listbox or combobox with id '''idc''' of topmost user [[dialog]].
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|LBSETPICTURE]]
Picture name is '''name''', picture is searched for in mission directory, subdirectory dtaExt of campaign directory, directory dtaExt and bank (or directory) data.
[[Category:Scripting Commands OFP 1.96|LBSETPICTURE]]
 
[[Category:Scripting Commands ArmA|LBSETPICTURE]]
 
'''Example:'''
 
'''lbSetPicture''' [101, 0, "iskoda"]

Revision as of 01:45, 2 August 2006

Hover & click on the images for description

Description

Description:
Set picture in item with given index of listbox or combobox with id idc of topmost user dialog. Picture name is name, picture is searched for in mission directory, subdirectory dtaExt of campaign directory, directory dtaExt and bank (or directory) data.
Groups:
Uncategorised

Syntax

Syntax:
lbSetPicture
Parameters:
[idc, index, name]: Array
Return Value:
Nothing

Examples

Example 1:
lbSetPicture [101, 0, "iskoda"]

Additional Information

See also:
See also needed

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

Bottom Section