Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
InGrid not working
Message
From
19/04/2002 21:20:47
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00647007
Message ID:
00647153
Views:
19
I'm leaving cOrderTag blank until I figure this out, just using cSeekTag (works the same, just doesn't set the ORDER() in GOTFOCUS()).
I packed and reindexed the file. Still got the problem.
Example that I seem to always be able to reproduce:
After starting form, I type 'ji' (or any 2 characters). It seeks the first 'ji' in the file (even though it's not ordered) and then freezes the keyboard and the mouse disappears. I can use ALT+TAB to change applications (like to UT) and the mouse comes back. Eventually the mouse and keyboard come back alive in VFP.

Using cLocateExpression is very slow and still has the same problem after locating the record.



>>I forgot to mention that I had already changed _DBLCLICK to _INCSEEK. I've now tried just hardcoding ".5" and I still have the problem.
>
>What is your cOrderTag?
>
>Try to use cLocateExpression instead. Make it Rushmore optimizable.
>
>If it still would be slow, try to recreate the index.
>
>>
>>>Check out, if it uses _DblClick variable somewhere. It probably should be changed.
>>>
>>>
>>>
>>>>I'm using VFP 7.0 SP1
>>>>I just tried hooking up the InGrid class that I downloaded from UT.
>>>>Every time I try to use it, my computer locks up.
>>>>
>>>>I think I've traced it to the "set order to this.cOrderTag" in GOTFOCUS(). If I comment out that line (and the line in KEYSEEK()) and just use cSeekTag and set the display order in DE it doesn't lock up my computer, but then it freezes my keyboard after doing the seek in KEYSEEK(). Eventually it releases (about 10 seconds). It also freezes my keyboard if I use UPARROW or DNARROW. If I press UPARROW+DNARROW, it moves up 1 record then freezes for 10 seconds then moves down 1 record.
>>>>The table I'm using only has 30,000 records in it.
>>>>I've left cLocateExpression blank.
>>>>
>>>>TIA
Bill Morris
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform