Board index » cppbuilder » registrer a component

registrer a component


2003-10-20 02:14:47 PM
cppbuilder9
Hi,
previously my component was registered like below :
RegisterComponents("Test", classes, 0);
when it's finished, i decided to registered it like that :
RegisterComponents("Shaped GUI", classes, 0);
However, when i install it in BCB5, everytime a "Test" tab appears between
my components tabs.
I already checked *.bpl *.bpi directory and all my component files where
this component is declared...
but nothing helped me.
I know that's a reccurent BCB problem....did Borland fix it ?
tia,
Alain
 
 

Re:registrer a component

"Alain R." < XXXX@XXXXX.COM >wrote in message
Quote
However, when i install it in BCB5, everytime a "Test" tab
appears between my components tabs.
Once a component has been registered, you cannot change the tab name unless
you completely uninstall the component first. That is not a bug. BCB
"remembers" the tab name for registered components, whenever you re-register
an existing component, the tab name is not updated.
Gambit
 

Re:registrer a component

Hi Remy,
but all files are saved in a specific folder (where all my component files
are).
when i delete this folder with all files, and recreate a new ones, BCB kept
this tab name too...why ?
if there's no more files and folder ?
i search in my C++ builder 5 main folder and none of my componenet files are
there..so, where this data can be stored ?
Alain
"Remy Lebeau (TeamB)" < XXXX@XXXXX.COM >wrote in message
Quote

"Alain R." < XXXX@XXXXX.COM >wrote in message
news:3f937d50$ XXXX@XXXXX.COM ...

>However, when i install it in BCB5, everytime a "Test" tab
>appears between my components tabs.

Once a component has been registered, you cannot change the tab name
unless
you completely uninstall the component first. That is not a bug. BCB
"remembers" the tab name for registered components, whenever you
re-register
an existing component, the tab name is not updated.


Gambit


 

{smallsort}

Re:registrer a component

"Alain R." < XXXX@XXXXX.COM >wrote in message
Quote
but all files are saved in a specific folder (where all my component
files are).
The location of the files is irrelevant. The IDE is keeping track of the
actual class name for the component, not the filename of the library which
is is stored in.
Quote
when i delete this folder with all files, and recreate a new ones, BCB
kept
this tab name too...why ?
Because you probably did not uninstall the files from the IDE as well, only
deleted the physical files. You must uninstall from the IDE itself so that
it is no longer tracking the component's class name and which tab it belongs
to.
Gambit
 

Re:registrer a component

Hi Remy,
I used IDE...
I clicked on "Install Package", in the list of package, i selected my
component packages and after i clicked on "Delete button".
I saw my component tab went away.
Is there something else to do ?
tia,
Alain
"Remy Lebeau (TeamB)" < XXXX@XXXXX.COM >wrote in message
Quote

"Alain R." < XXXX@XXXXX.COM >wrote in message
news: XXXX@XXXXX.COM ...

>but all files are saved in a specific folder (where all my component
>files are).

The location of the files is irrelevant. The IDE is keeping track of the
actual class name for the component, not the filename of the library which
is is stored in.

>when i delete this folder with all files, and recreate a new ones, BCB
kept
>this tab name too...why ?

Because you probably did not uninstall the files from the IDE as well,
only
deleted the physical files. You must uninstall from the IDE itself so
that
it is no longer tracking the component's class name and which tab it
belongs
to.


Gambit


 

Re:registrer a component

"Alain R." < XXXX@XXXXX.COM >wrote in message
Quote
Is there something else to do ?
You'll probably have to go into the Registry and make sure that the
component and tab references were really removed correctly.
Gambit