skip to main content

Working With Controls : Creating a control : Destroying a control

Destroying a control
When a control is no longer necessary, it should be destroyed. All the resources used by that control are released.
The syntax of the DESTROY Statement is:
Format 1
DESTROY {screen-name-1 } ...
{handle-1 }
{CONTROL AT location}
location is defined as follows:
Format 2
Format 3
Destroying every single control may be slow, the best approach is to destroy the whole Screen in which controls are defined. When a graphical window is destroyed, all controls associates to the window are automatically destroyed. The main application Window can't be destroyed.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left