Path: news.cs.au.dk!news.net.uni-c.dk!howland.erols.net!newspharm.inet.tele.dk.MISMATCH!news.tele.dk!193.190.198.17!newsfeeds.belnet.be!news.belnet.be!skynet.be!poster!not-for-mail From: Atle Newsgroups: comp.lang.beta Subject: Re: =?iso-8859-1?Q?V=E6rsgo=27?= le jer ihjel ... Date: Tue, 07 Nov 2000 15:53:04 +0100 Organization: Belgacom Skynet SA/NV Lines: 50 Message-ID: <3A081750.D0EBC0E5@skynet.be> References: <8u8pn0$65mgq$1@gjallar.cs.au.dk> NNTP-Posting-Host: dialup213.charleroi.skynet.be Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news1.skynet.be 973604159 2104 195.238.7.213 (7 Nov 2000 13:35:59 GMT) X-Complaints-To: abuse@skynet.be NNTP-Posting-Date: 7 Nov 2000 13:35:59 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:12631 Morten Grouleff wrote: > winlib1.bet: > > ORIGIN '~beta/guienv/guienv'; > INCLUDE '~beta/guienv/controls'; > -- guienvLib: attributes -- I don't remember seeing this construct. Could you please give a reference or brief explanation? What I am wondering is this: Does the name Lib or guienvLib mean something, is there a connection to the name guienv? > myprogram.bet: > ORIGIN '~beta/guienv/guienv'; > -- program:descriptor -- > GUIEnv > (# > win1: @MyWindow1; > win2: @MyWindow2; > > do win1.open; > #) > > To switch between the two, try "win1.hide; win2.show" once they've both > been opened. Thanks! I knew I had to do something, but I was just about to create a SymptomWin - patten in an include-file, and instantiate that (like a generic class) with some overrides. But now I want to try what you showed me. Now, after win1.open I can do a win2.open and they will both be active (follow focus), right? It is important that if something happens in win1 (my symptom window) those changes are reflected in win2 (the diagnosis window). When I am relatively happy with the system, I will upload a version so you can comment and try. If you want to see the C++ implementation, there is one at users.skynet.be/atle/acuwine.tgz it should run under win311, wine and win95. I will not duplicate its functionality, I will improve it (I hope). Thanks, Atle