General information
Category:
Forms & Form designer
Title:
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?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only