Technical Support Contact Us   

PC Access for Windows Reference Guide

for PC Access for Windows 4.30.158


Script Command: messagebox

Format:

messagebox title "title text" text "message text" {helpcontext helpID {helpfile "helpfilename"}};

The messagebox command displays a dialog window containing the "message text" string you specify after the text parameter. Script processing halts until the user closes the message dialog window by clicking its OK button.

You may specify an optional helpcontext parameter. If you do, the dialog window will contain a Help button in addition to the OK button. Follow the helpcontext parameter with an integer helpID to specify a help context for PC Access to display if the user clicks the Help button. You may specify a help file with the helpfile parameter. If you do not specify a help file, PC Access will attempt to display the help topic in PCAWRG.HLP (the PC Access for Windows online help file) with help context helpID when the user clicks the Help button.

Example:

messagebox title "Login Failed" 
text "You will have to log in manually." Helpcontext 550;

You can conveniently generate a messagebox command while recording a script file with the Create Script Message Dialog window.

Back to script command list.


Home Contents Previous Next

[Contents (Javascript menu format)] [Contents (HTML format)] [Search] [Glossary]


Tell me more about this site.
Can't find what you need? See: How to Find It.
Contact us
Report a problem with this page or suggest an improvement for this page.

Last modification date: Friday, January 17, 2003 00:58:55

 

Copyright © 2005 - MFM Software, Inc.
11988 Tramway Drive
Cincinnati, OH 45241
Phone: 513.733.9229
Fax: 513.733.8775
Send comments to webmaster@mfm.com