Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid - Lostfocus in cell
Message
 
À
20/12/1999 00:28:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00305984
Message ID:
00306010
Vues:
27
>I've inserted two textboxes to container object, and then put the container to the grid.
>When I move the cell to other cell, I want to check the two textboxes.
>If the condition is false, keep the cell in current position and then set the focus to the textbox. (I'm using container.lostfocus)
>How can I to handle it?

Oliver,

Don't use the container's LostFocus, instead use a combination of the grid's BeforeRowColChange and AfterRowColChange. If you search teh threads here you will find plenty of examples of how to detect a column change and react to it.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform