lbClear: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (<pre> to <code> + "see also")
m (example)
Line 14: Line 14:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''lbClear''' idc |= Syntax
| [[lbClear]] idc |= Syntax


|p1= idc: [[Number]] |= Parameter 1
|p1= idc: [[Number]] |= Parameter 1
Line 20: Line 20:
| [[Nothing]] |= Return value
| [[Nothing]] |= Return value


|s2= '''lbClear''' control |= Syntax
|s2= [[lbClear]] control |= Syntax


|p21=  control: [[Control]] |= Parameter 1
|p21=  control: [[Control]] |= Parameter 1
Line 29: Line 29:
   
   
|x1= <code>[[lbClear]] 101;</code> |= Example 1
|x1= <code>[[lbClear]] 101;</code> |= Example 1
|x2= <code>[[lbClear]] _ctrl;</code> |= Example 2
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 14:01, 10 September 2014

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

Bottom Section