🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to load a panel from a DLL and attached it to main form in runtime?

#12193
From: Hans Galema
Date: Fri, 19 Dec 2003 15:11
17 lines
1679 bytes
abc wrote:
> How to load a panel from a DLL and attached it to main form in runtime?

Where/how does your TPanel reside in the DLL ?

If the TPanel is on a TForm in the DLL you coud do it like:

	dllform->Panel1->Parent = this;

Where this is (in) the mainform.

or
  	dllform->Panel1->Parent = Appliction->MainForm;

elswhere.

Hans.
Technical Details
Message-ID: <3fe31423$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!news.uni-stuttgart.de!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fe2f91a$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,2948e24f6d3e7224
X-Google-Attributes: gid10cc67,public
X-Google-Thread: f5c5c,2948e24f6d3e7224
X-Google-Attributes: gidf5c5c,public
X-Google-ArrivalTime: 2003-12-19 07:10:10 PST
Date: Fri, 19 Dec 2003 16:11:24 +0100
From: Hans Galema <dontusethis@dontusethis.nl>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3.1) Gecko/20030425
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi,borland.public.cppbuilder.vcl.components.using
Subject: Re: How to load a panel from a DLL and attached it to main form in
 runtime?
References: <3fe2f91a$1@newsgroups.borland.com>
In-Reply-To: <3fe2f91a$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.125.108.11
Message-ID: <3fe31423$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1071846435 129.125.108.11 (19 Dec 2003 07:07:15 -0700)
Lines: 19
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!news.uni-stuttgart.de!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail