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 

Not visible on the form at design time

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





PostPosted: Fri Jun 10, 2005 9:44 am    Post subject: Not visible on the form at design time Reply with quote



I wrote a component derived from TComponent and i created the *.dcr file
that contains the icon.
On the components palette the icon is displayed correcly but when i place
the component on the form i can see only an invisible (if not selected)
square. What's wrong?

Thanks in advance
Vincenzo Ferraro


Back to top
Danila Vershinin
Guest





PostPosted: Sat Jun 11, 2005 4:21 pm    Post subject: Re: Not visible on the form at design time Reply with quote



"Vincenzo Ferraro" <sw4 (AT) task84 (DOT) it> wrote

What's wrong?

Please give your actual code


Back to top
Todd Brylski
Guest





PostPosted: Sun Jun 12, 2005 2:32 am    Post subject: Re: Not visible on the form at design time Reply with quote



"Vincenzo Ferraro" <sw4 (AT) task84 (DOT) it> wrote

Quote:
I wrote a component derived from TComponent and i created the *.dcr file
that contains the icon.
On the components palette the icon is displayed correcly but when i place
the component on the form i can see only an invisible (if not selected)
square. What's wrong?

Create a *.res file, add a 24x24 bitmap to it, name it the same
as the components name. The bottom left pixel in the bitmap is the
transparent color.

Todd



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.