>Hola a todos.
>
>¿Cómo asigno una tecla "aceleradora" a un botón?. Es decir, ¿cómo hago para que al pulsar F2, por ejemplo, se dispare el evento click de un determinado botón del formulario?.
>
>He intentado con
ON KEY LABEL
pero no atino a utilizarlo.
>
>Hago algo así:
>
>
ON KEY LABEL F2 THISFORM.BOTON1.CLICK
>
>pero obtengo un error de que no puedo utilizar THISFORM sino en un método.
>
>Gracias por adelanto por la ayuda que me puedan brindar.
>
>Saludos cordiales
>
>Manuel Tovar
>Barranquilla - COLOMBIA
Hola Manuel,
?Puedes usar metodo KeyPress del formulario para captar F2 y llamar cualquier metodo del metodo KeyPress?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham