🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Big problems very big problems

#497
From: Stefanidis Dimitris
Date: Fri, 29 Oct 2004 09:40
36 lines
2285 bytes
Delphi 8 Architect Sp1+Sp2

OOP between assemblies (packages ) even in same assembly  does not work when 
using Vcl Forms.
Example

Create an package add a form on it  and add an button on the form. Save and 
compile.
Than go to file new  other and uupss where is inheritable objects ???
Any way  add a new form save and than change the class to the first form 
wich you added.
Save and compile.  Re open second form  first forms components does not 
appears.
If you add any protected procedures or functions to the first form than the 
child form recognize them correctly.
The problem status is tha same if you use an second package wich has the 
child Form VCL classes.

If you use FCL  then still new inheritable objects does not works (if it's 
appears its random) but when change the class definition then components of 
parent Fcl form appears on child even if child FCL forms are in a different 
package.


This thinks work (with VCL Forms) when  using library insteed of package. 
(Do not works directly but needs something like : Create child form as file 
new form on the first library. Then change Class definition. then remove 
from first library and add to the second library)
Is this a bug ????
Any solution when using packages witrh vcl forms.
I need to have an package as Abstract and a lot of child packages.


Thanks

Dimitris
Technical Details
Message-ID: <41820fb1$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!skynet.be!newsfeed.wirehub.nl!194.72.7.126.MISMATCH!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff29,ca8fa2ed8e1ad679,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: Big problems very big problems 
Date: Fri, 29 Oct 2004 12:40:10 +0300
Lines: 38
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: <41820fb1$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1099042737 194.30.233.129 (29 Oct 2004 02:38:57 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!skynet.be!newsfeed.wirehub.nl!194.72.7.126.MISMATCH!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail