>How can I simulate a keyboard entry programmatically? I want execute a TAB keystroke entry when an expression return false. I know, I could use the when event of the textbox but the problem is that the textbox events not occur in the same order when I use the TAB keystroke or when I click with the mouse on it. > >Thanks in advance.