Topic: APLX Help : System Classes : Methods : Wait
[ Previous | Contents | Index | APL Home ]

www.microapl.co.uk

The 'Wait' method


Argument: None
Result: None

Valid for: Window, Form or Dialog

The Wait method is used to make a Window or Dialog modal, i.e. to disable all other application windows until the user has responded to the dialog. The modal state remains in force until the window is closed, hidden or destroyed. If the window is closed or hidden when the Wait method is called, it will first be opened and/or made visible. Note that your program still continues execution, and continues to handle events (via ⎕WE) as usual. If you want your program to wait for the modal dialog to complete, then immediately after invoking the Wait method you should call ⎕WE with a character right argument which is the name of the window.

The session window and other APL debugging windows are not disabled by this method, so you can interrupt the APL program as usual.


Topic: APLX Help : System Classes : Methods : Wait
[ Previous | Contents | Index | APL Home ]