Path: news.cs.au.dk!news.net.uni-c.dk!arclight.uoregon.edu!fr.usenet-edu.net!usenet-edu.net!newsfeeds.belnet.be!news.belnet.be!skynet.be!poster!not-for-mail From: Atle Newsgroups: comp.lang.beta Subject: GUI env Date: Tue, 17 Oct 2000 13:48:53 +0200 Organization: Belgacom Skynet SA/NV Lines: 52 Message-ID: <39EC3CA5.9265CFD@skynet.be> NNTP-Posting-Host: dialup123.charleroi.skynet.be Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news0.skynet.be 971782459 31488 195.238.7.123 (17 Oct 2000 11:34:19 GMT) X-Complaints-To: abuse@skynet.be NNTP-Posting-Date: 17 Oct 2000 11:34:19 GMT X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14 i686) X-Accept-Language: en Xref: news.cs.au.dk comp.lang.beta:12588 Hello, Beta avantgardists! I am having a small problem with a sample GUI app. I want it to be a menu and a list of item like this: item: (# symptomId : @integer; SymptomDescr: @text; #); I want only the description to be shown in the list (it is the list of symptoms, for which a list of 'plausible diagnoses' should be generated later, sorted on 'plausability %') I want a standard menu layout File- ->New Treatment (Select symptoms according to group) ->Exit Edit - ->Symptom List View ->Diagnosis & Treatment Help There will be two listboxes for symptom selection, or ideally, the main groups are presented as a list or groups to the left, and the symptoms in that group to the right. The user can select as many as she wishes, and later edit them in a listbox (I hope to have one listbox of type SymptomListBox that can be used in both cases). After generating a list of diagnoses from the symptoms (some math based on the symtom ids) the user can then browse the diagnoses, and view a treatment for each diagnosis. My question: What is the 'outer' pattern? Must all the listboxes be components, or should they be separate objects? Should I organize it roughly as the C++ app (my original implementation) as modules corresponding to the functions? If you want to see what I want to do, please look at the Windows/Wine app users.skynet.be/atle/acuwine.tgz Thanks, Atle -- Best wishes, Atle users.skynet.be/atle