DESTROY Mnemonic - Destroy GUI Object

Syntax

'DESTROY'(id)

Description

The 'DESTROY' mnemonic destroys individual controls or child windows.

Parameter

Description

id

Control ID number. It must be an integer between 1 and 32767.

If radio buttons are destroyed, they are automatically removed from their radio group. Radio buttons cannot be added to an existing group. It is possible, however, to destroy all the buttons in a group, create a new set of buttons, and then assign a new grouping. Menu items cannot be destroyed this way, but the 'SETMENU' mnemonic can be used to replace the current menu at any time. Destroying any window destroys all of its contents.

See Also

Mnemonics - Alphabetical Listing

Mnemonics - Group Listing