Table of Contents

SUPPRESSAUTODESTROY property (System)

Description

When the Presentation Server detects that there are no more visible windows in the application, and if the System Monitor is hidden, then it automatically shuts down the application and exits. Setting this value to TRUE$ prevents this behaviour.

Property Value

This property is a boolean value.

Property Traits

DevelopmentRuntimeIndexedScaledSynthetic
NoGet/SetNoYesNo

Remarks

Care should be taken when using this property to ensure that there are no hidden windows that prevent the system from shutting down. If you suppress the auto-destroy process then you are responsible for closing down the system cleanly.

Example

 
// Check if the Presentation Server can auto-destroy itself 

   

   IsSuppressAutoDestroy = Get_Property( "SYSTEM", "SUPPRESSAUTODESTROY" )

   

   // Stop the Presentation Server from automatically shutting down

   

   Call Set_Property( "SYSTEM", "SUPPRESSAUTODESTROY", TRUE$ )
 
 
 

See Also

SYSTEM DESTROY method, SYSTEM SHUTDOWN property.