Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Design Time Validation
Message
De
04/09/2001 23:22:57
 
 
À
04/09/2001 22:30:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00552303
Message ID:
00552317
Vues:
15
>Hello All,
>
>I am attempting to develop some standard classes for my programers to use and I was wondering if anyone could tell me how to place some design time validation on some of the properties in the classes?
>
>For example: I have a command button class for which I do not want the developers to be able to change the size. How could I prevent them from changing the width and height properties for that class?
>
>Thanks for any suggestions.
>
>Matt

Mark these properties as protected. Although there is still the matter of distributing the VCX/PRG. I guess if you use some type of version control software or maybe even file system permissions you can prevent changes to certain files.

HTH
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform