Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Scrolling
Message
De
29/10/1996 04:44:39
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Grid Scrolling
Divers
Thread ID:
00011067
Message ID:
00011067
Vues:
95
I have a grid control on a tab into which the user is adding inventory items. As soon as the user exits the final field, LostFocus() triggers the click method of the Save button. It saves the record, and, if the user is in ADD mode, generates the next item # and inserts a new record for the next item. It all works great except...SetFocus().

As long as the next record appears without having to scroll the contents of the grid, I figured out how to set focus to the description cell of the new record. However, when the control scrolls, the focus switches to the FIRST visible record's description cell at the top of the grid no matter what I code. Any ideas why and/or how to fix it?

Thanks in advance for any help.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform