Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set focus to a grid column
Message
De
09/05/1996 09:08:26
John Adams
John T. Adams Software Consulting Svcs
Keedysville, Maryland, États-Unis
 
 
À
08/05/1996 18:37:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00001164
Message ID:
00001179
Vues:
39
>When having the focus on a control in the form and
>want to set the focus in the grid, I write
>ThisForm.MyGrid.SetFocus() and it works. But, when
>I want to set the focus to a column it doesn't
>work even if I write
>ThisForm.MyGrid.Column1.SetFocus(). The focus
>always returns to the last column it was.


Michel,

Did you try issueing a refresh (either at form level, or
specifically for the grid)?

I have had interesting problems with refreshing grids in
scenarios like the one you discuss.

Good Luck!

John
John Adams

John T. Adams
Software Consulting Services
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform