Difference between revisions of "lnbClear"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (General tidy + "see also")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
 
(34 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Command|= Comments
+
{{RV|type=command
____________________________________________________________________________________________
 
  
| arma2 |= Game name
+
| arma2
  
|1.00|= Game version
+
|1.00
____________________________________________________________________________________________
 
  
| Clears all items in the 2D listbox. |= Description
+
|gr1= GUI Control - ListNBox
____________________________________________________________________________________________
 
  
| '''lnbClear''' idc |= Syntax
+
| Clears all items in the given listbox or combobox.
|p1= idc: [[Number]] -  |= PARAMETER1
 
|p2= |= PARAMETER2
 
|p3= |= PARAMETER3
 
| Nothing |= RETURNVALUE
 
  
 +
| [[lnbClear]] idc
  
|x1= <code>{{Example needed}}</code>|= Example 1
+
|p1= idc: [[Number]]
____________________________________________________________________________________________
 
  
| [[lnbAddArray]], [[lnbAddColumn]], [[lnbAddRow]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbsetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]], [[lnbValue]] |= SEEALSO
+
| [[Nothing]]
  
| |= MPBEHAVIOUR
+
|s2= [[lnbClear]] ctrl
____________________________________________________________________________________________
+
 
 +
|p21= ctrl: [[Control]]
 +
 
 +
|r2= [[Nothing]]
 +
 
 +
|x1= <code>[[lnbClear]] _ctrl;</code>
 +
 
 +
|seealso= [[lnbAddArray]], [[lnbAddColumn]], [[lnbAddRow]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]], [[lnbValue]]
 
}}
 
}}
  
<h3 style='display:none'>Notes</h3>
+
{{GameCategory|arma3|Scripting Commands}}
<dl class='command_description'>
+
{{GameCategory|tkoh|Scripting Commands}}
<!-- Note Section BEGIN -->
 
Alternative (Arma style) syntax:
 
_ctrlTable = _dspl displayCtrl _idc;
 
lnbClear _ctrlTable; // _ctrlTable of '''Control''' type
 
[[User:DenV|DenV]]
 
<!-- 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_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
 
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
 

Latest revision as of 23:54, 16 February 2021

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

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