home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pipex!bnr.co.uk!uknet!comlab.ox.ac.uk!oxuniv!vollrath
- From: vollrath@vax.oxford.ac.uk
- Newsgroups: comp.sys.mac.oop.misc
- Subject: TCL windows and dialogs
- Message-ID: <1992Dec18.174746.10916@vax.oxford.ac.uk>
- Date: 18 Dec 92 17:47:45 GMT
- Organization: Oxford University VAX 6620
- Lines: 23
-
- Hi,
-
- This sort of question is beginning to look repetitious, sorry. Is there a
- FAQ for this newsgroup? How do I get it?
- That wasn't the question. I am using Think Pascal / TCL. I want the main
- window to be a modeless dialog (or window with text fields), and two
- subsidiary windows (not usually visible) to handle text and graphics.
- The program reads in x-y coords of spider webs, and calculates a few
- hundred parameters, then outputs the results to FileForce files. The
- program has to display some changeable information (like date) on screen,
- and optionally display a picture of the web, and a text log file.
- Now, how is this best structured. CDocument is not a subclass of CDLOG-
- Director. Should I make itsWindow the log window, have a separate director
- to deal with the graphic window, and a subclass of CDLOGDirector to handle
- the dialog? Seems awkward, because the dialog has a couple of buttons to
- skip the web, or get the next from the file. I have to keep passing data
- back and fore to save to the file.
- Sorry this is so rambling. If people email, I'll summarise to the net.
- Thanks in advance.
- Alun ap Rhisiart
- Animal Behaviour Research Group
- Oxford University
- (vollrath@vax.ox.ac.uk)
-