Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Re populating a listbox
Message
De
20/03/2008 10:54:00
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01303858
Message ID:
01303893
Vues:
15
Hi Timothy,

It all depends on your data. From my point of view, keypress is mostly the best.
If you want a filter command including a LIKE-statement containing the current value of the inputfield, the keypress can handle this.
If you want to wait until the user has finished the input, and presses TAB or ENTER then you could react on the CR or TAB-Values of inkey() with the keypress-event (and addionally lostfocus if the mouse is clicking elsewhere)

Simply use Bindevent() to catch keypress and lostfocus and handle the existing content.
Best Regards
-Tom

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.

Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform