Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Assign() doesn't fire for controls?
Message
De
18/08/1999 08:39:57
 
 
À
18/08/1999 08:30:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00254879
Message ID:
00254901
Vues:
29
If there someone I don't trust, it's a developper :)

Seriously, I would like to develop my control as a black box. It's throwing an error now if an illegal value is assigned (ERROR nErrorNo), so that the developper will notice that he screwed up :) But that work only if he assign a value programatically, not from the property sheet.

I may check the property in the control, but I wanted to avoid this by not accepting invalid values in the first place.

>Well on one hand, it's the developper who's going to put in a value there, so I tend to trust him (which usually means me in my case) to enter a valid value.
>
>On the other hand, you could always add an extra check in the Init method of that object.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform