home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.tcl
- Path: sparky!uunet!uunet.ca!choreo!news
- From: news@choreo.ca (Choreo NetNews Administration Account(Ottawa))
- Subject: suspending events
- X-Disclaimer: This news article was written by an employee or customer of
- Choreo Systems Inc., and does not necessarily reflect the
- opinions or views of the Managament of Choreo Systems Inc.
- Reply-To: chare@choreo.ca
- Organization: Choreo Systems, Ottawa Canada
- Date: Tue, 22 Dec 1992 14:15:09 GMT
- Message-ID: <1992Dec22.141509.28807@choreo.ca>
- Followup-To: poster
- Lines: 24
-
- I have a tcl/tk script which handles some error processing, and displays
- a dialog box with the information message to the user when an error occurs.
- I set focus to the error window. How do I keep the script from executing
- until the user presses the OK button?
-
- For example
-
- if .... {
- errorDialog "message"
- update
- }
- <- I don't to continue here until an OK button is pressed.
- more code
- ...
-
-
- proc errorDialog {} {
- ....
- }
-
-
- Thanks
-
-
-