On Sep 25, 2004, at 7:52 AM, Barry Lumpkin wrote:
After receiving data from the serial port, I begin processing it.
While processing, sometimes the processing code finds a string that
needs to be corrected by the user before it can continue. I can use
MsgBox to interrupt the processing and notify the user of the error.
Works perfectly. What I'd rather do is have a window open that allows
the user to enter corrected data. Unfortunately the processing
continues without interruption creating errors. Is there a way when
opening a window to cause the code in another window to stop as with
the msgBox? I'm stumped.
Yes. Use ShowModal to show the dialog as a modal dialog. That will stop
execution in the caller.
--
REALbasic database options: http://sqlabs.net
REALbasic news and tips: http://rbgazette.com
KidzMail & KidzLog: http://haranbanjo.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|