Difference between revisions of "lnbClear"

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

Introduced with Arma 2 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

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

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

Multiplayer:
-
See also:
lnbAddArraylnbAddColumnlnbAddRowlnbColorlnbCurSelRowlnbDatalnbDeleteColumnlnbDeleteRowlnbGetColumnsPositionlnbPicturelnbSetColorlnbSetColumnsPoslnbSetCurSelRowlnbSetDatalnbSetPicturelnbSetTextlnbSetValuelnbSizelnbTextlnbValue

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section