Difference between revisions of "lnbClear"

From Bohemia Interactive Community
Jump to navigation Jump to search
(syntax, example & note removed)
m
 
(21 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Command|= Comments
+
{{Command|Comments=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| arma2 |= Game name
+
| arma2 |Game name=
  
|1.00|= Game version
+
|1.00|Game version=
 +
 
 +
|gr1= GUI Control - ListNBox |GROUP1=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| Clears all items in the given listbox or combobox. |= Description
+
| Clears all items in the given listbox or combobox. |DESCRIPTION=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[lnbClear]] idc([[Number]]) |= Syntax
+
| [[lnbClear]] idc |SYNTAX=
| p1= idc: [[Number]] |= PARAMETER1
+
 
| [[Nothing]] |= RETURNVALUE
+
|p1= idc: [[Number]] |PARAMETER1=
 +
 
 +
| [[Nothing]] |RETURNVALUE=
  
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| s2= [[lnbClear]] _ctrl([[Control]]) |= Syntax
+
|s2= [[lnbClear]] ctrl |SYNTAX2=
| p21= _ctrl: [[Control]] |= PARAMETER1
+
 
| r2= [[Nothing]] |= RETURNVALUE
+
|p21= ctrl: [[Control]] |PARAMETER21=
 +
 
 +
|r2= [[Nothing]] |RETURNVALUE2=
  
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
|x1= <code>[[lnbClear]] _ctrl;</code>|= Example 1
+
|x1= <code>[[lnbClear]] _ctrl;</code>|EXAMPLE1=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[lnbAddArray]], [[lnbAddColumn]], [[lnbAddRow]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]], [[lnbValue]] |= SEEALSO
+
| [[lnbAddArray]], [[lnbAddColumn]], [[lnbAddRow]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]], [[lnbValue]] |SEEALSO=  
  
|  |= MPBEHAVIOUR
+
|  |MPBEHAVIOUR=  
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
}}
 
}}
  
<h3 style='display:none'>Notes</h3>
 
<dl class='command_description'>
 
<!-- Note Section BEGIN -->
 
<!-- Note Section END -->
 
</dl>
 
 
<h3 style='display:none'>Bottom Section</h3>
 
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
 
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
+
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
 

Latest revision as of 13:14, 26 September 2020

Introduced with Arma 2 version 1.001.00
Hover & click on the images for descriptions

Description

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

Syntax

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

Alternative Syntax

Syntax:
lnbClear ctrl
Parameters:
ctrl: Control
Return Value:
Nothing

Examples

Example 1:
lnbClear _ctrl;

Additional Information

See also:
lnbAddArraylnbAddColumnlnbAddRowlnbColorlnbCurSelRowlnbDatalnbDeleteColumnlnbDeleteRowlnbGetColumnsPositionlnbPicturelnbSetColorlnbSetColumnsPoslnbSetCurSelRowlnbSetDatalnbSetPicturelnbSetTextlnbSetValuelnbSizelnbTextlnbValue
Groups:
GUI Control - ListNBox

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.