Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Teclas aceleradoras
Message
 
 
À
21/12/2006 07:39:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01179492
Message ID:
01179519
Vues:
10
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform