Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delay InteractiveChange
Message
De
01/04/2002 17:28:20
 
 
À
01/04/2002 16:57:48
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00639614
Message ID:
00639703
Vues:
34
Yes I do it all the time for "type-ahead" searches. add a timer to your form. Set it's enabled property to false. Set the interval to 15 seconds.
Timer::Timer
this.enabled = .f.
this.reset()
thisform.getselectedentriesperthecomboboxvalue()
ComboBox::KeyPress
LPARAMETERS nKeyCode, nShiftAltCtrl

if not inlist(nkeycode,13,9,...)
    thisform.typeaheadtimer.reset()
    thisform.typeaheadtimer.enabled = .t.
else
    thisform.typeaheadtimer.enabled = .f.
    thisform.getselectedentriesperthecomboboxvalue()
endif
Try this !

Glenn
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform