Path: news.cs.au.dk!not-for-mail From: Atle Newsgroups: comp.lang.beta Subject: GUI env Date: 17 Oct 2000 15:57:37 -0000 Organization: Belgacom Skynet SA/NV Lines: 52 Approved: mailtonews@cs.au.dk Distribution: world Message-ID: <20001017155737.3138.qmail@noatun.mjolner.dk> Reply-To: Atle NNTP-Posting-Host: cs.au.dk X-Trace: gjallar.cs.au.dk 971798269 5423014 130.225.16.1 (17 Oct 2000 15:57:49 GMT) X-Complaints-To: usenet@cs.au.dk NNTP-Posting-Date: Tue, 17 Oct 2000 15:57:49 +0000 (UTC) Xref: news.cs.au.dk comp.lang.beta:12589 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