a guest Oct 3rd, 2017 104 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PUBLIC FUNCTION Solo_Numeros()
  2.     'Message.Warning(Key.Code)
  3.     SELECT CASE Key.Code
  4.         CASE Key["0"] TO key["9"]     '0123456789
  5.         CASE Key.Control AND Key["C"] 'control+C
  6.         CASE Key.Control AND Key["X"] 'control+X
  7.         CASE Key.Control AND Key["V"] 'control+V
  8.         CASE Key.Left                 'izquierda
  9.         CASE Key.Right                'derecha
  10.         CASE Key.BackSpace            'borrar atras
  11.         CASE Key.Delete               'borrar delante
  12.         CASE Key.Tab                  'tabulador
  13.         CASE ELSE
  14.           STOP EVENT
  15.     END SELECT
  16. END
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand