Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange Combobox behavior
Message
De
01/03/2000 15:46:48
 
 
À
01/03/2000 15:05:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00339984
Message ID:
00340079
Vues:
22
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform