Article View: comp.lang.pascal.delphi.components.writing
Article #12Publishing Custom Form Properties is broken?
From: Brad Stowers
Date: Tue, 21 Jul 1998 00:00
Date: Tue, 21 Jul 1998 00:00
24 lines
2086 bytes
2086 bytes
Is it just me, is this thing broken? I've tried the example of doing this straight out of the Delphi Developer's Handbook (using RegisterCustomModule and a TIExpert descendant to create the new form), and while the form will show up with the new properties available, it simply refuses to add the ancestor class' unit to the new unit. While it's simple to fix, it's annoying in the extreme, and it's hardly something I would want to distribute to other developers (which is why I started looking into this to begin with). The only thing I found that works is Sergey Orlik's Custom Forms Pack (CFPack), and it get's around the problem by implementing a custom TIModuleCreator(Ex) to write the source code of the new unit. I don't much care for that since you can never be certain the default source for a new form unit won't change between Delphi versions. I've tried this under Delphi 3.02 C/S and 4.00 Pro, and both have the same problem. Is this just me, or is it why we don't see many people writing and distributing custom forms? Regards, Brad Free Delphi Stuff: http://www.pobox.com/~bstowers/delphi/ My return address is intentionally invalid; delete ".Remove-This-Spam-Blocker" for real address
Technical Details
Message-ID:
<35b4bbf5.70304355@news.aye.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10c3df,c2bf2219d0c68f77,start X-Google-Attributes: gid10c3df,public X-Google-Thread: fe2ce,c2bf2219d0c68f77,start X-Google-Attributes: gidfe2ce,public From: bstowers@pobox.com.Remove-This-Spam-Blocker (Brad Stowers) Subject: Publishing Custom Form Properties is broken? Date: 1998/07/21 Message-ID: <35b4bbf5.70304355@news.aye.net> X-Deja-AN: 373544588 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsabuse@supernews.com X-Trace: 901037367 57Z.0HWKAA 32CEB9C usenet58.supernews.com Organization: http://www.supernews.com, The World's Usenet: Discussions Start Here Mime-Version: 1.0 Reply-To: bstowers@pobox.com.Remove.This.Spam.Blocker Newsgroups: comp.lang.pascal.delphi.components.writing,borland.public.delphi.opentoolsapi