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 

How can i draw a new component, or just customize one?

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





PostPosted: Tue Sep 16, 2003 8:43 am    Post subject: How can i draw a new component, or just customize one? Reply with quote



I would make a button or a panel with a custom background and shape, how can
i do it?



Back to top
Rodolfo Frino
Guest





PostPosted: Tue Sep 16, 2003 12:57 pm    Post subject: Re: How can i draw a new component, or just customize one? Reply with quote



Have a look at BitBtn button where you can put an image (glyph) as
background.

Rodolfo

"Donald" <customize (AT) mpt (DOT) com> wrote

Quote:
I would make a button or a panel with a custom background and shape, how
can
i do it?






Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Tue Sep 16, 2003 5:47 pm    Post subject: Re: How can i draw a new component, or just customize one? Reply with quote




"Donald" <customize (AT) mpt (DOT) com> wrote

Quote:
yes but for the others components?

Have a look at the following article, it shows an example of painting a
custom background onto a TListView:

Sublcass a windows control
http://www.bcbdev.com/faqs/faq76.htm

A similar technique can (usually) be applied to various other components.


Gambit


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ([url]http://www.grisoft.com)[/url].
Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/03




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.