>Hi
>I have one doubt about lastKey() to be more clear ill go to put the steps to reproduce my problem:
>
>1 in one textbox in the valid method put:
>
>Wait window (str(lastkey()))
>clear typeahead
>Wait window (str(lastkey()))
>
>2 run the form and press enter in the textbox...
>
>We have now two wait windows telling us te value returned by lastkey() isnt change :(
>
>is there any way to have the value returned by lastkey() cleared or at least changed programatically?
>
>TIA
Use the KEYBOARD command to put someother character in it and then use INKEY() to suck it up without actually using it. You'll still get whatever character you KEYBOARDed, but at least you'll know you put it there!