Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_INCSEEK not working in VFP7.0?
Message
From
14/02/2003 11:21:40
 
 
To
13/02/2003 13:05:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00751438
Message ID:
00753286
Views:
24
I was in the middle of my response to you while looking at my code. I realized that the GotFocus was setting the KeyPreview of the parent form to .F. and the LostFocus was setting it back. This makes a lot of sense.

The problem was that in the interactivechange of the Lookup combobox, I was refreshing the parent form's grid. Hence, LostFocus of the Lookup toolbar object, setting the KeyPreview back to .T. and the form's KeyPreview was stealing my keystrokes. :-) On top of that, it was taking plenty of time to perform the refresh each time.

Final solution:

1. I removed the crap from the InteractiveChange so that I didn't refresh all the time.
2. I removed all previous attempts at correcting the problem: Code, Properties...
2. I added a timer, which performs the Parentform's refresh when I want it to. CHRSAW() and a lTimer flag help to determine if I need to refresh or not. The Timer.Interval is set to _INCSEEK * 1000.


Thank you to everyone who put up with my bickering, you are all patient people.
Gordon de Rouyan
DC&G Consulting
Edmonton, Alberta
Email: derouyag@shaw.ca
Previous
Reply
Map
View

Click here to load this message in the networking platform