🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Application->CreateForm

#2758
From: Dmitry Konnov
Date: Fri, 24 Nov 2006 18:01
15 lines
1320 bytes
Hans ,

> Why would you? I thought that we were not supposed to use CreateForm() but
> the new operator instead. Where did you place that code?

Why i use this approach?

If i registered form with RegisterClass(__classid(TMyForm))

since then i can create my forms by VCLClass name.

And this reduces dependency in code since no #include need

Dmitry
Technical Details
Message-ID: <4567333e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <45672a82@newsgroups.borland.com> <45672d88$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,cc726ca6ac385fd3
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
References: <45672a82@newsgroups.borland.com> <45672d88$1@newsgroups.borland.com>
Subject: Re: Application->CreateForm
Date: Fri, 24 Nov 2006 21:01:15 +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: <4567333e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1164391230 212.58.203.114 (24 Nov 2006 10:00:30 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail