Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trapping keypress in ListBox for Incrementalsearch
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Trapping keypress in ListBox for Incrementalsearch
Divers
Thread ID:
00477903
Message ID:
00477903
Vues:
50
Hi all
I use a listbox to dispaly some information and the incremental searche too.
But I got this information in the listbox

0000000001 | Benoit
0000000002 | Pierre
0000000003 | Jacques .....

It is not useful typing all the zero before the number!
Is it possibel to do somting like traping the kepress, pad the value, and make the list search the new Value
Ex..

List.Keypress
local lval
lval = Chr(lastkey())
lval = Padl(lval,10,"0")
keyboard lval

Any tips?

Benoit
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform