next up previous contents
Next: menu_show($title,$message,$style) Up: Function Reference Previous: Complex Return Values   Contents

menu_popup

This is an extra routine which you may never need. It provides a way of displaying information while a process is being performed rather than the script stalling silently. It is called in two forms; first to display the popup and then to remove it;
menu_popup($header,$message)
This creates a popup which overlays the current menu. A very small window is opened with a drawn border and $header displayed in the centre of the top line. The $message is displayed in the body of the window on a single line (no word wrap is performed on this text - make sure it is only one line long!)./

After calling this, your script should go off and busy itself until ready to talk to the user again

menu_popup()
call the same routine with no parameters and the Popup menu will be removed.
Please remember to close the popup as dangling windows can trash your display.



Andy Ferguson (AFC) 2001-10-20