🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Application->CreateForm

#2756
From: Dmitry Konnov
Date: Fri, 24 Nov 2006 17:23
15 lines
1328 bytes
Hi All,

  TEditCard *a_EditCard = NULL;
        Application->CreateForm(FindClass("EditCardClass"),  &a_EditCard);
  a_EditCard->Show();

In this example TEditCard is TForm descendant with single parameter
(TComponent *Owner);
Is there a possibility to create form with extra parameters in constructor
by means
Application->CreateForm ?

Thank you.

Please help.
Technical Details
Message-ID: <45672a82@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,cc726ca6ac385fd3,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Dmitry Konnov" <dmitry@weblinedesign.biz>
From: "Dmitry Konnov" <dmitry@weblinedesign.biz>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Application->CreateForm
Date: Fri, 24 Nov 2006 20:23:59 +0300
Lines: 17
Organization: weblinedesign
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 212.58.203.114
Message-ID: <45672a82@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1164388994 212.58.203.114 (24 Nov 2006 09:23:14 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail