Path: news.cs.au.dk!noatun.mjolner.dk!mail-to-news From: Atle Newsgroups: comp.lang.beta Subject: More GUI Date: Tue, 07 Nov 2000 18:06:14 +0100 Organization: Posted to comp.lang.beta by a mailtonews script Lines: 31 Sender: lbr@mjolner.dk Approved: mailtonews@cs.au.dk Message-ID: <8u99qa$66ro9$1@gjallar.cs.au.dk> NNTP-Posting-Host: bifrost.mjolner.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: gjallar.cs.au.dk 973613706 6516489 130.225.8.27 (7 Nov 2000 16:15:06 GMT) X-Complaints-To: usenet@cs.au.dk NNTP-Posting-Date: Tue, 7 Nov 2000 16:15:06 +0000 (UTC) Mailing-List: contact usergroup-help@mjolner.dk; run by ezmlm X-No-Archive: yes X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14 i686) X-Accept-Language: en X-Original-Message-ID: <3A083686.C03A34DE@skynet.be> X-Original-Sender: atle@skynet.be Xref: news.cs.au.dk comp.lang.beta:12634 First of all, thanks for GUIding me in the right direction :-) Now, I have done as you said, defined a SymptomWindow : window(# .. #); DiagnosisWindow : window(# .. #); in symptoms.bet and diagnosis.bet, respectively. In acubase.bet, it looks like this: GIUenv (# Sympt : @SymptomsWindow; Diag : @DiagnosisWindow; ... Sympt.Open; (* This is where it starts *) #) Now, the Diag.Open should really first occur when the user asks for a diagnosis. I can open the window from acubase.bet to give access to 'diagnosis-related' stuff ('Generate Diagnosis' PushButton, or something) ... ... but I wonder about alternatives: Semantically, doesn't this belong to the top-level pattern? Shouldn't Sympt pass up anything that is not directly related to selecting symptoms? And therefore, the decision to 'Generate Diagnosis' should be taken in acubase.bet? Of course, it will work either way, but this being a 'case study' :-) Thanks, Atle