Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Properties as DEFINED CONSTANTS
Message
De
15/10/1999 11:44:35
John Baird
Coatesville, Pennsylvanie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Properties as DEFINED CONSTANTS
Divers
Thread ID:
00276908
Message ID:
00276908
Vues:
60
I have a method that I'm adding to my base classes to check security levels.

I have an include file that defines:

#DEFINE CMD_ADD 1
#DEFINE CMD_EDIT 2


Now I drop an instance of the commandbutton on a form and set the property nRights TO CMD_ADD. the property gets passed as a string value to the class "CMD_ADD" instead of 1.

Is there a way to do this?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform