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 

TFrame or TCustomFrame as ancestor

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Development)
View previous topic :: View next topic  
Author Message
Elizabeth
Guest





PostPosted: Wed May 19, 2004 10:05 am    Post subject: TFrame or TCustomFrame as ancestor Reply with quote



Hi All!,

When i say new component in the combo box for ancestor why is there no
TFrame or TCustomFrame.
If i write TFrame and then derive the component and put in a package and
then try to use it in some other application i get an error.
How can I derive my component from TCustomFrame.

Thanks to all of you,
Elizabeth


Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Wed May 19, 2004 4:44 pm    Post subject: Re: TFrame or TCustomFrame as ancestor Reply with quote



"Elizabeth" <mnkd (AT) ffjn (DOT) com> wrote


Quote:
When i say new component in the combo box for
ancestor why is there no TFrame or TCustomFrame.

Because a frame is not a component to begin with. I suggest you read the
documentation on TFrame, it explains how to create new frame classes, how to
put them on the Component Palette, and how to share them with other
developers.

Quote:
If i write TFrame and then derive the component
and put in a package and then try to use it in some
other application i get an error.

You need to be more specific.

Quote:
How can I derive my component from TCustomFrame.

You don't.


Gambit



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Development) 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.