lnbClear: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "lnbsetColumnsPos" to "lnbSetColumnsPos")
(syntax, example & note removed)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Clears all items in the 2D listbox. |= Description
| Clears all items in the given listbox or combobox. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''lnbClear''' idc |= Syntax
| [[lnbClear]] idc([[Number]]) |= Syntax
|p1= idc: [[Number]] |= PARAMETER1  
| p1= idc: [[Number]] |= PARAMETER1  
|p2= |= PARAMETER2
| [[Nothing]] |= RETURNVALUE  
|p3= |= PARAMETER3
| Nothing |= RETURNVALUE  


____________________________________________________________________________________________
| s2= [[lnbClear]] _ctrl([[Control]]) |= Syntax
| p21= _ctrl: [[Control]] |= PARAMETER1
| r2= [[Nothing]] |= RETURNVALUE
____________________________________________________________________________________________


|x1= <code>{{Example needed}}</code>|= Example 1
|x1= <code>[[lnbClear]] _ctrl;</code>|= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 29: Line 34:
<dl class='command_description'>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
Alternative (Arma style) syntax:
_ctrlTable = _dspl displayCtrl _idc;
lnbClear _ctrlTable; // _ctrlTable of '''Control''' type
[[User:DenV|DenV]]
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 12:19, 9 September 2014

Hover & click on the images for description

Description

Description:
Clears all items in the given listbox or combobox.
Groups:
Uncategorised

Syntax

Syntax:
lnbClear idc(Number)
Parameters:
idc: Number
Return Value:
Nothing

Alternative Syntax

Syntax:
lnbClear _ctrl(Control)
Parameters:
_ctrl: Control
Return Value:
Nothing

Examples

Example 1:
lnbClear _ctrl;

Additional Information

See also:
lnbAddArraylnbAddColumnlnbAddRowlnbColorlnbCurSelRowlnbDatalnbDeleteColumnlnbDeleteRowlnbGetColumnsPositionlnbPicturelnbSetColorlnbSetColumnsPoslnbSetCurSelRowlnbSetDatalnbSetPicturelnbSetTextlnbSetValuelnbSizelnbTextlnbValue

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