🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.oop.misc
Article #112

TCL windows and dialogs

#112
From: vollrath
Date: Tue, 22 Dec 1992 11:47
35 lines
1949 bytes
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)


------ Internet Message Header Follows ------
Path:
wupost!cs.uiuc.edu!ux1.cso.uiuc.edu!sdd.hp.com!spool.mu.edu!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
Technical Details
Message-ID: <1992Dec22.064746.2807851666@ultramac.uucp>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!ultramac!raph

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!ultramac!raph
Message-ID: <1992Dec22.064746.2807851666@ultramac.uucp>
Newsgroups: comp.sys.mac.oop.misc
Distribution: world
From: vollrath@vax.oxford.ac.uk
Organization: Odyssey Ultraware, Inc
Date: Tue, 22 Dec 1992 06:47:46 CDT
Subject: TCL windows and dialogs
Lines: 37