Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid scroll question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00143179
Message ID:
00143364
Vues:
28
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform