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