Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid scroll question
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00143179
Message ID:
00143364
Views:
27
>What has worked for me is to set focus to the current control in the column whose header is being clicked. Just put a SetFocus() command in the header click method.

Okay, got it perfected now. I had some centered data, and it was kind of jumpy on the sort. But here's the nutshell:

1) At very end of header.click, after indexing/set order code, put

this.parent.text.setfocus
this.parent.text.click

2) Put column.controlsource = 'alltrim(cursor.field)' for each centered data column after SQL, requery, or wherever, fix the jumpiness.

Thanks again for the help...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform