Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Syncronizing one grid wth another
Message
From
03/07/2000 11:40:11
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00386999
Message ID:
00387755
Views:
24
I don't know whether this is the best way of doing it, but I have two lists I want to keep in line, I put the following in the InteractiveChange events

thisform.list2.topindex = this.topindex
thisform.list2.listindex = this.listindex
thisform.refresh

In the GotFocus & MouseMove events I put a call to this.InteractiveChange.

it seems to keep both in line, at least with keyboard & mouse control.

There's probably much better ways of doing it, as I'll likely find out.
Mike

"I can live with doubt and uncertainty and not knowing. I think it is much more interesting to live not knowing than to have answers that might be wrong." - Richard Feynman
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform