Error getting tags :
error 404Error getting tags :
error 404 destroyWindow | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
destroyWindow
Basics
Expander triangle
Type
Property
Syntax
set the destroyWindow of stack to {true | false}
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Specifies whether the memory used by a stack window is purged when the stack is closed.
Examples

set the destroyWindow of stack "Test Harness" to true

Additional Comments
Expander triangle

Use the destroyWindow property when installing new externals, or to save memory.

Value:

The destroyWindow of a stack is true or false.

By default, the destroyWindow property of newly created stacks is set to false.

Comments:

If a stack's destroyWindow property is set to true, closing the stack removes the data structure maintaining that window.

External commands and external functions are removed from memory only when the stack controlling them is removed from memory. When you install a new external, or replace it with a new version while debugging, Revolution cannot use it until you either quit Revolution and then reopen the stack, or close the stack (after setting its destroyWindow to true) and then reopen it.

Note: Despite its alarming name, the destroyWindowproperty does not destroy or damage a stack. It simply frees the memory used for its window.

User Comments
Expander triangle