| View previous topic :: View next topic |
| Author |
Message |
Oliver Young Guest
|
Posted: Wed Dec 10, 2003 9:35 am Post subject: TCustomLabel |
|
|
I've derived my component from TCustomLabel but after installation and
restart of BCB 6 I can't see my component tab on VCL components page control
(to drag-drop it on my form). Are there some tips and trick about building
VCL components in BCB? I have a lot of expirience with Delphi 6 component
development, but everything is different in BCB.
|
|
| Back to top |
|
 |
chris Guest
|
Posted: Wed Dec 10, 2003 11:10 am Post subject: Re: TCustomLabel |
|
|
"Oliver Young" <none> a écrit dans le message de news:
3fd6e8d0$1 (AT) newsgroups (DOT) borland.com...
| Quote: |
I've derived my component from TCustomLabel but after installation and
restart of BCB 6 I can't see my component tab on VCL components page
control
(to drag-drop it on my form). Are there some tips and trick about building
VCL components in BCB? I have a lot of expirience with Delphi 6 component
development, but everything is different in BCB.
If you understand french, take a look at: |
http://chgi.developpez.com/compo/
Very nice tuto.
Deserve an english translation :)
--
chris
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Wed Dec 10, 2003 6:48 pm Post subject: Re: TCustomLabel |
|
|
"Oliver Young" <none> wrote
| Quote: | I've derived my component from TCustomLabel but after installation
and restart of BCB 6 I can't see my component tab on VCL components
page control (to drag-drop it on my form).
|
Did you actually register the component? If you right-click on the Palette
and go to Properties, do you see your Tab listed at all?
| Quote: | Are there some tips and trick about building VCL components in BCB?
I have a lot of expirience with Delphi 6 component development, but
everything is different in BCB.
|
Creating components in BCB is almost identical to building components in
Delphi - create a design-time package, put the code into the package, and
then make sure you have an exported Register() function that calls
RegisterComponents(). If you use the "New Component" and "Install
Component" dialogs from the Components menu, this is handled for you.
Gambit
|
|
| Back to top |
|
 |
Oliver Young Guest
|
Posted: Thu Dec 11, 2003 7:01 am Post subject: Re: TCustomLabel |
|
|
| Quote: | Did you actually register the component? If you right-click on the
Palette
and go to Properties, do you see your Tab listed at all?
Yes. Yes.  |
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Thu Dec 11, 2003 7:57 pm Post subject: Re: TCustomLabel |
|
|
"Oliver Young" <none> wrote
| Quote: | Yes. Yes.
|
When you go into the Palette's properties and see your tab, is your
component actually listed? If so, then it sounds like you simply have your
Palette tab hidden.
Gambit
|
|
| Back to top |
|
 |
|