From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2746dae4f161c04e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-23 02:17:17 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!129.240.148.23!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Gtkada-Prob Date: Fri, 23 Nov 2001 10:17:16 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <20011121.053507.496987743.3460@web.de> <20011121.113942.76065818.1437@web.de> <9tgoha$cib$1@drcomp.erfurt.thur.de> <3BFD6A62.123E6F49@acm.org> NNTP-Posting-Host: kiuk0156.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1006510636 6595 129.241.83.82 (23 Nov 2001 10:17:16 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Fri, 23 Nov 2001 10:17:16 +0000 (UTC) User-Agent: slrn/0.9.7.2 (Linux) Xref: archiver1.google.com comp.lang.ada:16898 Date: 2001-11-23T10:17:16+00:00 List-Id: On Thu, 22 Nov 2001 21:13:12 GMT, Jeffrey Carter wrote: > I wondered if I should comment on this when it first appeared, but > considered it fairly obvious and likely to receive a number of replies. > Maybe I was wrong. It seems as if Knoth wrote "Window1" when he meant > "Window1_Pkg". With that correction, his advice should make Window1 > directly visible (along with everything else in Window1_Pkg). Yes. This is why I like to give propper names to all my labels and windows, dialogs etc... and not used the default label1, label2 etc... as this doesn't make the code readable. It doesn't take long either as you do it in glade. But I would not recommend that a beginner in Ada use the: with window1_pkg; use window1_pkg; but rather only with window1_pkg; and then write : window1_pkg.window1 etc... Preben -- () Join the worldwide campaign to protect fundamental human rights. '||} {||' http://www.amnesty.org/