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:
00145004
Vues:
52
>That's true. I guess it looks better. I just thought it would be slower.
>
Michelle,

That depends on how the city combo is being populated.

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()
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform