home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / programm / 19847 < prev    next >
Encoding:
Internet Message Format  |  1992-12-15  |  1.8 KB

  1. Path: sparky!uunet!spool.mu.edu!olivea!charnel!rat!usc!elroy.jpl.nasa.gov!ncar!stout.atd.ucar.edu!urban
  2. From: urban@stout.atd.ucar.edu (Art Urban (PROFS))
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: TCL: Dialogs (Help Needed)
  5. Message-ID: <1992Dec15.160042.29935@ncar.ucar.edu>
  6. Date: 15 Dec 92 16:00:42 GMT
  7. References: <1992Dec15.145557.8695@mail.cornell.edu>
  8. Sender: urban@stout.atd.ucar.edu
  9. Organization: Atmospheric Technology Division/NCAR Boulder, CO
  10. Lines: 26
  11.  
  12. I have a few questions concerning the use of Dialogs in the TCL.
  13.  
  14. 1) In the TeachText document, they comment that the supervisor of the Dialog
  15.    must be the dialog itself. However, IDLOGDialog wants an object of type
  16.    CDirector for the supervisor, so how can I pass a CDLOGDialog here? And
  17.    if I do so, doesn't that break the chain of command with the CDirector?
  18.  
  19. 2) CDialogText only accepts one line of text. Is this correct?
  20.  
  21. 3) When my dialog comes up on the window (Modeless), the first editable
  22.    text item is not selected. Further, unless I have the insertion bar in
  23.    an editable text item, Return and Enter are ignored for the default
  24.    button; I have to litterally click on the button. It seems that a call to
  25.    BeginDialog() would fix my problem, but this is not a modal dialog.
  26.  
  27. 4) Is there a better discussion/explanation of TCL Dialogs, than the sparse
  28.    document provided? It took me a while to figure out that I had to append
  29.    the command number to the DITL item with #<number>. I discovered this
  30.    only by examining one of their DITLs; I could not find this documented
  31.    anywhere.
  32.  
  33. --
  34. Art Urban                            urban@stout.atd.ucar.edu
  35. ===============================================================================
  36.  "Baby trapped in film, eats own hand."                    - Joel
  37. ===============================================================================
  38.