Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with Grids
Message
 
À
01/12/1997 10:54:16
Michael Knelsen
Technology Management Corporation
Regina, Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00063026
Message ID:
00063055
Vues:
35
>I am having the following problem with my grid. I have this grid on a page frame,
>and I need one column of the grid to be always filled in. When I click on the
>add button to add a line to the grid, focus is automatically set to the column
>and new row in the grid. My problem is if the person clicks on the page somewhere,
>the valid event fires, but focus is lost in the grid and focus is set to the page
>tab. Is this a VFP bug?? Is there a work around??

Sounds to me as if it's working as designed, more or less. If you click on the page,
the page should get focus. If you don't want the page to get focus, set the
Page.GetFocus to something like:
This.grd1.SetFocus()
NODEFAULT
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform