Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use namespace for component ?
Message
De
21/07/2000 07:35:06
 
 
À
Tous
Information générale
Forum:
Borland C++ Builder
Catégorie:
Paquets et Composants
Titre:
How to use namespace for component ?
Divers
Thread ID:
00395300
Message ID:
00395300
Vues:
43
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
Fil
Voir

Click here to load this message in the networking platform