Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00199279
Message ID:
00199321
Vues:
17
>>I have a grid on a form that contains more columns than can be shown so when the user tabs through the columns they shift over accordingly. When the users exits the grid they want the grid to "realign" itself so column1 is the leftmost column. Any ideas? Man I wish grids had GotFocus() and LostFocus() Events |-(
>
>Haven't tried it, but does activatecell work from grid Valid? If not, BRCC runs the very last thing when you exit a grid, so you could flag it and do a setfocus from there, maybe...

I tried this but it only makes reference to the visible columns and rows, so if columns 3 to 10 and rows 5 to 20 were visible ActivateCell(1,1) would go to row 3 column 5.

Your BRCC suggestion is exactly what I ended up doing. See my reply to William T. Thanks.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform