Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delay InteractiveChange
Message
From
01/04/2002 17:28:20
 
 
To
01/04/2002 16:57:48
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00639614
Message ID:
00639703
Views:
35
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform