🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.winforms.controls.using
Article #452

WinForm Inheritance

#452
From: Stefanidis Dimitris
Date: Wed, 06 Oct 2004 11:08
21 lines
1445 bytes
Hello

I'm creating an winForm as TBaseWinForm. Then i'm creating an child of it as 
TBaseGridWinForm with an Grid on it.
I'm adding class procedure on TBaseWinForm as CreateShow as
with TBaseWinForm.Create do
 begin
  Show;
 end


When i call TBaseGridWinForm.CreateShow i saw only TBaseWinForm.
Ok lat's say this happens becouse of  "TBaseWinForm.Create". But when i try 
classic delphi
call : With Self.Create do and etc than i get an compile error as : 
"Potentially polymorphic constructor calls must be virtual"


Any ideas ???

Thanks Dimitris 
Technical Details
Message-ID: <4163d1ef$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newshosting.com!nx01.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff29,6ddce9c1d82c0fb2,start
X-Google-Attributes: gid1eff29,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Stefanidis Dimitris" <distef01@yahoo.gr>
Newsgroups: borland.public.delphi.winforms.controls.using
Subject: WinForm Inheritance
Date: Wed, 6 Oct 2004 14:08:21 +0300
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 194.30.233.129
Message-ID: <4163d1ef$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1097060847 194.30.233.129 (6 Oct 2004 04:07:27 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newshosting.com!nx01.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail