Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Valid in control in grid.
On my form I have a grid and a command button.
In the grid there is a textbox.
In the textbox's valid event I return .f. under certain circumstances to force valid entry. This works fine if the user attempts to move around within the grid; however, if the user clicks on the command button outside of the grid, the command button gets the focus even though the textbox's valid returns false (and even though the textbox's lostfocus never gets called).
Is there anyway for control inside a grid to keep the focus regardless of where the user clicks?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement