When I leave a grid I want to go to a particular object. I can not set focus from a click or valid statement. I do not see a lost focus method in the grid properties. Am I just missing it? If not, how do I control where the focus goes when leaving it. Changing tab order does not seem to be the answer.
I have a text box that updates a grid as I type in it. When I get enough of a name to get close to the right one, the user clicks on the grid, scrolls up or down until the name they want appears, and hit enter or click on it (they might do either, you know how users are).
The valid statement is setting things up to return to the main controls, for instance, changing index order, table selected, etc... It needs to execute just before focus is lost.
I also do not see a keypress event in the grid, so I can't set focus from it if the user presses enter. If the only set focus command is in the click event, how do I control focus change if the user presses enter?
Thanks,
Mike
I have a text box that updates a grid as I type in it. When I get enough of a name to get close to the right one, the user clicks on the grid, scrolls up or down until the name they want appears, and hit enter or click on it (they might do either, you know how users are).
The valid statement is setting things up to return to the main controls, for instance, changing index order, table selected, etc... It needs to execute just before focus is lost.
I also do not see a keypress event in the grid, so I can't set focus from it if the user presses enter. If the only set focus command is in the click event, how do I control focus change if the user presses enter?
Thanks,
Mike