Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox RecordSource Options
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00144858
Message ID:
00145006
Vues:
53
>I have come to realize that optimizing for performance should be the last thing you do in development. First make it behave the way you want it to, if you then notice that that approach is too slow, optimize for performance. For example, here's some code that would get the best of both approaches, in the combo state when;
>
>
>* cboState WHEN
>* Check to see if the suer hits another key in 1/2 second
>IF CHRSAW(.5)
>   * If they did hit a key get out of here
>   RETURN
>ENDIF
>* If the did not hit a key, refresh the cbocity
>THISFORM.cboCity.ReQuery()
>
Maybe I'm just over-sensitive about slow combo boxes. I have one user, and on their system, one combobox is incredibly slow. Haven't been able to figure out why. So I try and make things speedy. :)

-Michelle
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform