Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox bug?
Message
 
 
To
29/01/2009 16:33:59
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01377798
Message ID:
01378370
Views:
23
>Naomi,
>
>Well without your form, I consider this, for the time being, a programmers error, since it can't be reproduced.
>
>Best regards,
>
>Koen

I think (not 100% sure yet) I found the cause of the problem, but I'm not sure I would be able to implement an easy fix.

The page deactivate method was calling the method that sets the enabled status for the controls. The button on the container invokes a form, thus the page deactivate happens and the code gets executed and probably steps on my other call.

Now, I'm not sure why do we have that code in deactivate method at all. There was some reason, but there are no comments and it's hard to now understand if we need this code at all or not. I left it there and didn't try to adjust.

Anyway, readonly solution looks better than disable except for this strange false positive change message. I would appreciate if someone can test this for me.

Thanks again.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform