ctrlDelete: Difference between revisions
Jump to navigation
Jump to search
m (Bot: Replacing category Scripting Commands Arma 3 with Arma 3: Scripting Commands) |
m (Bot: Reverted to revision 108413 by 7erra on 2018-06-15T20:27:05Z) |
||
Line 36: | Line 36: | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]] | |||
<!-- CONTINUE Notes --> | <!-- CONTINUE Notes --> | ||
<dl class="command_description"> | <dl class="command_description"> | ||
Line 55: | Line 60: | ||
</dl> | </dl> | ||
<!-- DISCONTINUE Notes --> | <!-- DISCONTINUE Notes --> | ||
Revision as of 17:27, 3 December 2018
Description
- Description:
- Deletes given control.
Returns whether the deletion was successful. - Groups:
- Uncategorised
Syntax
Examples
- Example 1:
ctrlDelete ((findDisplay 20000) displayCtrl 20001);
Additional Information
- See also:
- ctrlCreatectrlModelctrlSetModelctrlPositionctrlSetPositionctrlClassNamedisplayCtrlctrlModelScalectrlSetModelScalectrlModelDirAndUpctrlSetModelDirAndUp
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
Notes
Bottom Section
- Posted on April 18, 2015 - 11:08 (UTC)
- Killzone Kid
- ctrlDelete can only delete controls created with ctrlCreate. Use ctrlShow false and ctrlEnable false to disable existing controls.
- Posted on June 15, 2018 - 20:27 (UTC)
- 7erra
- ctrlDelete can indeed delete already existing controls. Though deletable = 1; has to be defined in the controls class