Article View: borland.public.cppbuilder.nativeapi
Article #11609Re: CPL Application with C++ Builder 6 Professional
From: Marcello Scala
Date: Sat, 31 Jan 2004 22:38
Date: Sat, 31 Jan 2004 22:38
36 lines
1861 bytes
1861 bytes
second simple question:
And if i make on the form, an exit button with TButton?
How can i exit from the applet?
Thanks
Marcello
"Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> ha scritto nel
messaggio news:401c28fa$1@newsgroups.borland.com...
>
> "Marcello Scala" <mscala@emails.it> wrote in message
> news:401c2296$1@newsgroups.borland.com...
>
> > Where can i found a simple example of Control Panel Application?
> > I want only show a form when i dblclick on applet?
>
> 1) File | New | Other | Control Panel Application
> 2) Assign an OnActivate handler to the TAppletModule:
>
> #include <theform.h>
>
> void __fastcall TMyAppletModule::MyAppletModuleActivate(TObject
*Sender,
> int Data)
> {
> TTheForm *form = new TTheForm(this);
> form->ShowModal();
> delete form;
> }
>
> Works fine for me.
>
>
> Gambit
>
>
Technical Details
Message-ID:
<401c2da3$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<401c2296$1@newsgroups.borland.com> <401c28fa$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,12480d5aa08a95b4 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-01-31 14:39:46 PST From: "Marcello Scala" <mscala@emails.it> Newsgroups: borland.public.cppbuilder.nativeapi References: <401c2296$1@newsgroups.borland.com> <401c28fa$1@newsgroups.borland.com> Subject: Re: CPL Application with C++ Builder 6 Professional Date: Sat, 31 Jan 2004 23:38:54 +0100 Lines: 38 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 80.180.223.139 Message-ID: <401c2da3$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1075588515 80.180.223.139 (31 Jan 2004 14:35:15 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail