Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Assign() doesn't fire for controls?
Message
De
18/08/1999 08:30:29
 
 
À
18/08/1999 08:09:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00254879
Message ID:
00254895
Vues:
22
>I've created a control that I can drop on my form. In my control, there is a property that have an Assign() method. If I assign a new value programatically, the Assign() method fire. But if I assign a value in the property sheet, the Assign() doesn't fire.
>
>I suspect that this is normal behavior, but in that case, how do you make sure that an invalid value isn't assigned to a property?

Hi Sylvain,

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.
Sylvain Demers
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform