Hello Claudio
I can think of 2 possible fixes
both go in the editbox.when method
on key label esc messagebox("Presiono Esc",48,"manejo de errores")
or
set escape off
hope this helps
>In a editbox i accept a text but when press Esc key the text dissapear.
>In de valid method i control this:
>if lastkey() = 27
> messagebox("Presiono Esc",48,"manejo de errores"
>endif
>But i press Esc key and not display this mensaje why ???
>In other text i accept a date when a invalid date is entered the message "invalid date" appear. How i control show not appear this message.