home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / smalltal / 2833 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.4 KB

  1. Path: sparky!uunet!math.fu-berlin.de!ira.uka.de!scsing.switch.ch!news.unige.ch!ugun2b!ugun2a!dugerdil
  2. Newsgroups: comp.lang.smalltalk
  3. Subject: Re: A question on ST/V
  4. Message-ID: <1993Jan27.081806.1609@uni2a.unige.ch>
  5. From: dugerdil@uni2a.unige.ch
  6. Date: 27 Jan 93 08:18:06 +0200
  7. References: <1k3g7rINN64e@shelley.u.washington.edu>
  8. Distribution: na
  9. Organization: University of Geneva, Switzerland
  10. Lines: 27
  11.  
  12. In article <1k3g7rINN64e@shelley.u.washington.edu>, yjkim@stein.u.washington.edu (Yong Kim) writes:
  13. > Dear experienced users of ST/V,
  14. >    I am writing a user interface where one application window (W1) opens
  15. > up another window (W2). My question is how I can suspend W1 window
  16. > until W2 is closed.  I.e. The resumption of W1 is contingent on
  17. > the (normal or abnormal) termination of W2.  I tried to use
  18. > Semaphore to no avail. Thanks for your expertise on this (silly?)
  19. > question.
  20. > -- 
  21. > Yong J. Kim  yjkim@milton.u.washington.edu
  22. > Department of Management Science
  23. > School of Business Administration
  24. > University of Washington
  25.  
  26. Why don't you declare W2 as modal ? If W2 is modal then you will not be able
  27. to manipulate W1 until W2 is closed. That might, I guess, solve your problem.
  28. To have a modal Window, declare it as a subclass of WindowDialog.
  29.  
  30.  
  31. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  32. Philippe Dugerdil
  33. Geneva/Switzerland
  34. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  35.  
  36.