BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

form in a component

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.components.writing
View previous topic :: View next topic  
Author Message
Alan Grace
Guest





PostPosted: Wed Oct 13, 2004 5:29 pm    Post subject: form in a component Reply with quote



I've got a form in a component that I want to turn into an ActiveX
object. Going back to the component (I'm using D6), the problem is
that if I create the form using the component constructor the form is
the first form in the application and becomes mainform. This seems to
be because the component is created before the form. Any ideas how to
do this?

Alan Grace
Back to top
Bruce Roberts
Guest





PostPosted: Thu Oct 14, 2004 3:02 pm    Post subject: Re: form in a component Reply with quote




"Alan Grace" <ag (AT) sybermedica (DOT) com> wrote

Quote:
I've got a form in a component that I want to turn into an ActiveX
object. Going back to the component (I'm using D6), the problem is
that if I create the form using the component constructor the form is
the first form in the application and becomes mainform. This seems to
be because the component is created before the form. Any ideas how to
do this?

Can you not delay form creation until you actually need to use it?



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.components.writing All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.