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:
00143196
Vues:
24
>I've been coerced by a mob of users into using a grid with a lot of non-visible columns with a horizontal scrollbar. The problem is that since I have header-click sorts on all columns, when I click on a header in the scrolled far-right area, after the sort the grid snaps back to the default (column 1 on left edge) position. Can someone tell me how to keep the grid from doing this?
>
>Doscroll() could work, but I'd like the grid not to even budge a pixel from its position, if possible...

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.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform