Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to stay in a Row in Grid?
Message
From
25/01/1999 15:29:48
 
 
To
25/01/1999 15:22:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00179756
Message ID:
00179976
Views:
43
>Edward,
>Thank you for your answer. It sounds very logical, and I will try to use it this way. But I need some time to change it, so I cannot probably will do it tomorrow. I am very new in VFP 6.0 (two months), so every hint is very helpful for me.

Ok. If you must stick to the current way so far, then the troubleshooting path would be following:
1. Add a button to your form with the simple code inside:
***button click event
Select mycursor && this is grid.recordsource
Go 15 && just to get 'invisible' row
Thisform.Grid.Setfocus
2. Try it and if it will scroll to row#15 without problem (IMO it should, at least VFP5 works Ok here), then
3. Make this button invisible and call it from grid 'refreshing' code. If it's still OK, then you interface is fixed (just pass the KeyValue or RECNO() to click event).
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform