lbSetData: 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|LBSETDATA]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|LBSETDATA]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|LBSETDATA]]


| ofpr |= Game name


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


| Set additional text (invisible) in item with given index of listbox or combobox with id idc of topmost user [[dialog]] to data. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''lbSetData''' |= Syntax


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


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>lbSetData [101, 1, "#1"]</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 additional text (invisible) in item with given '''index''' of listbox or combobox with id '''idc''' of topmost user [[dialog]] to '''data'''.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|LBSETDATA]]
 
[[Category:Scripting Commands OFP 1.96|LBSETDATA]]
'''Example:'''
[[Category:Scripting Commands ArmA|LBSETDATA]]
 
'''lbSetData''' [101, 1, "#1"]

Revision as of 00:45, 2 August 2006

Hover & click on the images for description

Description

Description:
Set additional text (invisible) in item with given index of listbox or combobox with id idc of topmost user dialog to data.
Groups:
Uncategorised

Syntax

Syntax:
lbSetData
Parameters:
[idc, index, data]: Array
Return Value:
Nothing

Examples

Example 1:
lbSetData [101, 1, "#1"]

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