lbClear: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "|PARAMETER1= |r2=" to "|PARAMETER21= |r2=")
(28 intermediate revisions by 12 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands]]
{{Command|Comments=
[[Category:Scripting Commands OFP 1.97]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA]]


back to [[Scripting_Reference#L|COMREF]]
| ofp |Game name=


<h2 style="color:#000066"> '''lbClear ''idc'''''</h2>
|1.5|Game version=


|arg= local |Multiplayer Arguments=


'''Operand types:'''
|eff= local |Multiplayer Effects=
____________________________________________________________________________________________


'''idc:''' [[Number]]
| Clear all items in listbox or combobox with id idc of topmost user [[dialog]]. |DESCRIPTION=
____________________________________________________________________________________________


'''Type of returned value:'''
| [[lbClear]] idc |SYNTAX=


[[Nothing]]
|p1= idc: [[Number]] |PARAMETER1=


'''Compatibility:'''
| [[Nothing]] |RETURNVALUE=


Added in version '''1.50'''
|s2= [[lbClear]] control |SYNTAX2=


'''Description:'''
|p21=  control: [[Control]] |PARAMETER21=


Clear all items in listbox or combobox with id '''idc''' of topmost user [[dialog]].
|r2= [[Nothing]] |RETURNVALUE2=


____________________________________________________________________________________________
 
|x1= <code>[[lbClear]] 101;</code> |EXAMPLE1=


'''Example:'''
|x2= <code>[[lbClear]] _ctrl;</code> |EXAMPLE2=
____________________________________________________________________________________________


'''lbClear''' 101
| [[lbAdd]], [[lbColor]], [[lbCurSel]], [[lbData]], [[lbDelete]], [[lbIsSelected]], [[lbPicture]], [[lbSelection]], [[lbSetColor]], [[lbSetCurSel]], [[lbSetData]], [[lbSetPicture]], [[lbSetSelected]], [[lbSetTooltip]], [[lbSetValue]], [[lbSize]], [[lbSort]], [[lbSortByValue]], [[lbText]], [[lbValue]] |SEEALSO=
 
}}
 
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<dd class="notedate">Posted: Sep 10 2014</dd>
<dt class="note">[[User:ffur2007slx2_5|ffur2007slx2_5]]</dt>
<dd class="note">More information on the LB command family can be found [https://community.bistudio.com/wiki/List_Box here]
<!-- Note Section END -->
</dl>
 
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|LBCLEAR]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|LBCLEAR]]
[[Category:Scripting Commands ArmA|LBCLEAR]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 16:39, 4 September 2019

Hover & click on the images for description

Description

Description:
Clear all items in listbox or combobox with id idc of topmost user dialog.
Groups:
Uncategorised

Syntax

Syntax:
lbClear idc
Parameters:
idc: Number
Return Value:
Nothing

Alternative Syntax

Syntax:
lbClear control
Parameters:
control: Control
Return Value:
Nothing

Examples

Example 1:
lbClear 101;
Example 2:
lbClear _ctrl;

Additional Information

See also:
lbAddlbColorlbCurSellbDatalbDeletelbIsSelectedlbPicturelbSelectionlbSetColorlbSetCurSellbSetDatalbSetPicturelbSetSelectedlbSetTooltiplbSetValuelbSizelbSortlbSortByValuelbTextlbValue

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

Posted: Sep 10 2014
ffur2007slx2_5
More information on the LB command family can be found here

Bottom Section