Difference between revisions of "lnbClear"

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. ArmA2 classification)
 
m
 
(31 intermediate revisions by 11 users not shown)
Line 1: Line 1:
 +
{{Command|Comments=
 +
____________________________________________________________________________________________
  
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
+
| arma2 |Game name=
 +
 
 +
|1.00|Game version=
 +
 
 +
|gr1= GUI Control - ListNBox |GROUP1=
 +
____________________________________________________________________________________________
 +
 
 +
| Clears all items in the given listbox or combobox. |DESCRIPTION=
 +
____________________________________________________________________________________________
 +
 
 +
| [[lnbClear]] idc |SYNTAX=
 +
 
 +
|p1= idc: [[Number]] |PARAMETER1=
 +
 
 +
| [[Nothing]] |RETURNVALUE=
 +
 
 +
____________________________________________________________________________________________
 +
 
 +
|s2= [[lnbClear]] ctrl |SYNTAX2=
 +
 
 +
|p21= ctrl: [[Control]] |PARAMETER21=
 +
 
 +
|r2= [[Nothing]] |RETURNVALUE2=
 +
 
 +
____________________________________________________________________________________________
 +
 
 +
|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=
 +
 
 +
|  |MPBEHAVIOUR=
 +
____________________________________________________________________________________________
 +
}}
 +
 
 +
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Latest revision as of 14: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.