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,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fc9d2f32aa4c961b,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-16 09:11:58 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.direct.ca!look.ca!btnet-peer0!btnet!news5-gui.server.ntli.net!ntli.net!news2-win.server.ntlworld.com.POSTED!not-for-mail From: "chris.danx" Newsgroups: comp.lang.ada Subject: Help: Tagged Types MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Fri, 16 Nov 2001 17:07:19 -0000 NNTP-Posting-Host: 62.253.9.126 X-Complaints-To: abuse@ntlworld.com X-Trace: news2-win.server.ntlworld.com 1005930405 62.253.9.126 (Fri, 16 Nov 2001 17:06:45 GMT) NNTP-Posting-Date: Fri, 16 Nov 2001 17:06:45 GMT Organization: ntlworld News Service Xref: archiver1.google.com comp.lang.ada:16631 Date: 2001-11-16T17:07:19+00:00 List-Id: Hi, If we have a decendant of type gwindows.windows.window_type, gl_window_type, and override it's create procedure, does the following call the create procedure for gwindows.windows.window_type? -- create a window; -- procedure Create (Window : in out gl_window_type; Title : in gwindows.GString := ""; Left : in Integer := GWindows.Constants.Use_Default; Top : in Integer := GWindows.Constants.Use_Default; Width : in Integer := GWindows.Constants.Use_Default; Height : in Integer := GWindows.Constants.Use_Default; Is_Dynamic : in Boolean := False) is begin gwindows.windows.create (gwindows.windows.window_type'class(window)); ... ... end create; It compiles ok, but does it do what I intend. It has to initialise a window of type gl_window_type as if it were gwindows.windows.window_type, then call some other routines. All I need to know is if this is the correct method to call the routines of the type which gl_window_type is extended from. Thanks, Chris