Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6 goofy behavior or goofy developer -- you decide
Message
 
To
19/04/1999 15:03:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00209816
Message ID:
00209891
Views:
34
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform