| View previous topic :: View next topic |
| Author |
Message |
Vincenzo Ferraro Guest
|
Posted: Fri Jun 10, 2005 9:44 am Post subject: Not visible on the form at design time |
|
|
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
|
Posted: Sat Jun 11, 2005 4:21 pm Post subject: Re: Not visible on the form at design time |
|
|
"Vincenzo Ferraro" <sw4 (AT) task84 (DOT) it> wrote
What's wrong?
Please give your actual code
|
|
| Back to top |
|
 |
Todd Brylski Guest
|
Posted: Sun Jun 12, 2005 2:32 am Post subject: Re: Not visible on the form at design time |
|
|
"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 |
|
 |
|