Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange Combobox behavior
Message
From
01/03/2000 15:46:48
 
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00339984
Message ID:
00340079
Views:
23
Hi Fred,

That's just the way I code. I get it to work as verbose as possible, then I refactor for efficiency. BTW, here's an interesting twist: If I move the class Refresh code into the instance and don't DODEFAULT(), the error never occurs.

>Does the fact that you are always Enabled=.f. and then Enabled=.t. in the refresh cause this problem? I mean, is the fact the Enabled somehow forcing the refresh to re-execute or something? Wouldn't it be better to only Enable/Disable as needed with:
>
>IF PEMSTATUS(ThisForm,"FormState",5)
>   This.Enabled=(ThisForm.FormState > 0)
>ENDIF
------------------------------------------------
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform