| View previous topic :: View next topic |
| Author |
Message |
user@domain.invalid Guest
|
Posted: Mon Oct 06, 2003 8:41 pm Post subject: TComponent painting |
|
|
Where's the code that draws the TComponent on the owner at design time?
i.e. the code that draws the speedbutton-looking component with the
component's palette glyph inside it.
Thanks,
Dv
|
|
| Back to top |
|
 |
Yorai Aminov (TeamB) Guest
|
Posted: Tue Oct 07, 2003 12:27 am Post subject: Re: TComponent painting |
|
|
On Mon, 06 Oct 2003 16:41:08 -0400, [email]user (AT) domain (DOT) inva[/email]lid wrote:
| Quote: | Where's the code that draws the TComponent on the owner at design time?
|
In the designer. Non-visual components do not draw themselves - Delphi
does it for them.
---
Yorai Aminov (TeamB)
http://develop.shorterpath.com/yorai
(TeamB cannot answer questions received via email.)
|
|
| Back to top |
|
 |
David Beardwood Guest
|
Posted: Tue Oct 07, 2003 1:47 pm Post subject: Re: TComponent painting |
|
|
| Quote: | Where's the code that draws the TComponent on the owner at design time?
In the designer. Non-visual components do not draw themselves - Delphi
does it for them.
"In the designer" as in not available to me (to be read visually)? |
Thanks for the response.
Dv
|
|
| Back to top |
|
 |
Yorai Aminov (TeamB) Guest
|
Posted: Wed Oct 08, 2003 12:19 am Post subject: Re: TComponent painting |
|
|
On Tue, 07 Oct 2003 09:47:48 -0400, David Beardwood
<beardw (AT) mcmaster (DOT) ca> wrote:
| Quote: | "In the designer" as in not available to me (to be read visually)?
|
Exactly. The component bitmaps are stored as resources in the
design-time package used to register them. They don't even exist in
the runtime package or application.
---
Yorai Aminov (TeamB)
http://develop.shorterpath.com/yorai
(TeamB cannot answer questions received via email.)
|
|
| Back to top |
|
 |
|