Difference between revisions of "lnbClear"

From Bohemia Interactive Community
Jump to navigation Jump to search
(syntax, example & note removed)
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
 
(32 intermediate revisions by 6 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 given listbox or combobox. |= Description
+
|gr1= GUI Control - ListNBox
____________________________________________________________________________________________
 
  
| [[lnbClear]] idc([[Number]]) |= Syntax
+
| Clears all items in the given listbox or combobox.
| p1= idc: [[Number]] |= PARAMETER1
 
| [[Nothing]] |= RETURNVALUE
 
  
____________________________________________________________________________________________
+
| [[lnbClear]] idc
  
| s2= [[lnbClear]] _ctrl([[Control]]) |= Syntax
+
|p1= idc: [[Number]]
| p21= _ctrl: [[Control]] |= PARAMETER1
 
| r2= [[Nothing]] |= RETURNVALUE
 
  
____________________________________________________________________________________________
+
| [[Nothing]]
  
|x1= <code>[[lnbClear]] _ctrl;</code>|= Example 1
+
|s2= [[lnbClear]] ctrl
____________________________________________________________________________________________
 
  
| [[lnbAddArray]], [[lnbAddColumn]], [[lnbAddRow]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]], [[lnbValue]] |= SEEALSO
+
|p21= ctrl: [[Control]]
  
| |= MPBEHAVIOUR
+
|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 -->
 
<!-- 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

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