Warning! This page is not translated.
See english version
This statement must be used in an
handler. It tells the interpreter that the event that called the event handler must be cancelled.
Only a few native events can be cancelled. This is primarily intended to allow you to supersede default keyboard and mouse behavior with your own.
' My text box only accepts digits
PUBLIC SUB MyTextBox_KeyPress()
IF Instr("0123456789", Key.Text) = 0 THEN