Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6 goofy behavior or goofy developer -- you decide
Message
De
19/04/1999 15:35:57
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00209816
Message ID:
00209837
Vues:
33
Thanks Colin ---- Yeah, I'd like to see that list of properties if Doug has it. I mean, the workaround wasn't terribly difficult, it was a case, though, where I thought implementing the _Assign within the control and attached to a change in Value was good OOP.

>
>Probably goofy behaviour but then again you never know eh? :-)
>
>Seriously, I attended Doug Hennig's session on Access and Assign methods at FoxTeach and he mentioned that he has come across a couple of cases where the _access and _assign methods wouldn't fire for some properties and, I believe, has reported this to M$ as a bug. Perhaps if Doug comes across this thread he could shed some extra light on this. Good Luck.
>
>>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?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform