🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #2767

Re: Application->CreateForm

#2767
From: Remy Lebeau (TeamB)
Date: Sun, 26 Nov 2006 05:11
18 lines
1898 bytes
"Erol Fornoles" <erol.fornoles@gmail.com> wrote in message
news:1164513031.096119.148930@l12g2000cwl.googlegroups.com...

> How can you supply forms to an executable via .bpl files?

The same way the VCL allows bpl's to provide access to custom components.
Forms are just specialized components, afterall.  If a bpl implements a
custom TForm and then registers is, the application can use that
registration to instantiate the form without actually knowing what it is.
All component registrations allow that.  Of course, the application will not
be able to access the form-specific class members without a header file for
the bpl, unless it doesn't care about the custom members, in which case it
can access the form via a generic TForm* pointer (same as with components,
via TComponent*).


Gambit
Technical Details
Message-ID: <456927f2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <45672a82@newsgroups.borland.com> <4567a282$3@newsgroups.borland.com> <456814f4@newsgroups.borland.com> <45682ab0$1@newsgroups.borland.com> <45688da9$1@newsgroups.borland.com> <1164513031.096119.148930@l12g2000cwl.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,cc726ca6ac385fd3
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <45672a82@newsgroups.borland.com>   <4567a282$3@newsgroups.borland.com>   <456814f4@newsgroups.borland.com>   <45682ab0$1@newsgroups.borland.com>   <45688da9$1@newsgroups.borland.com> <1164513031.096119.148930@l12g2000cwl.googlegroups.com>
Subject: Re: Application->CreateForm
Date: Sat, 25 Nov 2006 21:11:11 -0800
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 69.169.4.232
Message-ID: <456927f2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1164519410 69.169.4.232 (25 Nov 2006 21:36:50 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail