Hi Claudio
The better way to do that is on
INTERACTIVECHANGE (for usual keys) or
KEYPRESS (for special keys)
method !! There you can monitor each key pressed !!
Claudio
>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.
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20