Information générale
Forum:
Borland C++ Builder
Catégorie:
Paquets et Composants
Titre:
How to use namespace for component ?
When using a component from Delphi, I noticed that a namespace was used for the enumerated values of a property. It was a serial communication component, and e.g. the values for the parity were 'None', 'Odd' and 'Even' (without the ' ' of course).
I tried to use the same approach for a component of my own, but without much success. The help file didn't help me much further either.
So what's the right approach to do this ? Do you have to use the 'using' clause ? Do you always put this clause in your header file ?
Marc
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement