🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.misc
Article #288

Bug/bodge in Delphi 4? was: I'm stuck: Inheriting forms to repository and adding properties

#288
From: Adrian
Date: Mon, 09 Nov 1998 00:00
37 lines
1944 bytes
I'm starting to believe that Delphi has a buggy/sticky tape
implementation of the repository.  I tried instead inheriting from a
TCustomForm (no published events in that base class) and adding that to
the repository.  The object inspector still shows *ALL* the properties
and events published in TForm... I smell foul play.

Still tearing hair out,

Adrian

Adrian wrote:
> 
> I'm having some real headaches trying to add my own form to the
> repository.
> 
> I have a form on the lines of
> 
>   TMyForm = class (TForm)
>   private
>   ...
>   published
>     property OnMyEvent : TMyEvent read... write... //etc
>   end;
> 
> My aim is to put this form into the repository and have OnMyEvent
> available from the object inspector.  I have tried building this onto my
> component palette and I can see from dropping this form onto another
> form that the properties are available there.  However, if I try
> creating a new one via the repository - even though I select "inherit" -
> I am getting no joy; only the TForm properties/events appear.
> 
> Ho hum, I'm going mad.
> 
> If anyone can help me, please do!
> 
> Thanks in advance,
> Adrian
Technical Details
Message-ID: <364705EB.4D49D36F@cherwell.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3647019A.9DE3BFD5@cherwell.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f894d,a28ce13c778309d6,start
X-Google-Attributes: gidf894d,public
X-Google-Thread: fe2ce,376dd64d2f1cdfde
X-Google-Attributes: gidfe2ce,public
X-Google-Thread: 10baee,376dd64d2f1cdfde
X-Google-Attributes: gid10baee,public
From: Adrian <adrian@cherwell.com>
Subject: Bug/bodge in Delphi 4?  was: I'm stuck: Inheriting forms to repository and adding properties
Date: 1998/11/09
Message-ID: <364705EB.4D49D36F@cherwell.com>
X-Deja-AN: 409971959
Content-Transfer-Encoding: 7bit
References: <3647019A.9DE3BFD5@cherwell.com>
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Newsgroups: comp.lang.pascal.delphi.misc,comp.lang.pascal.delphi.components.writing,borland.public.delphi