Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6 goofy behavior or goofy developer -- you decide
Message
 
À
19/04/1999 15:03:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00209816
Message ID:
00209891
Vues:
33
>Hi All ---
>
>I have a checkbox on a form. The checkbox is from a class where I have defined a value_assign method. There is no controlsource to this checkbox. In Value_Assign, in the control instance on a form, I put code to turn or/off certain buttons depending on the state of the value (T/F). No dice. Doesn't work. No error -- just nothing happens. What *will* work is if I bind the control (controlsource) to a form property and put an _Assign on that form property.
>
>What the heck? Is this expected behavior or am I missing something?

Hiya Gonz,

I've been able to replicate this using both numeric and logicals for the .Value property. It appears that value_assign never fires. I set a break point in it, but VFP chugged merrily along. Methinks we may have a bug here.

Now this doesn't mean that the developer isn't goofy< g >, but that's another story.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform