Ver Mensaje Individual
  #4 (permalink)  
Antiguo 24/09/2007, 13:49
Avatar de GeoAvila
GeoAvila
Colaborador
 
Fecha de Ingreso: diciembre-2003
Ubicación: Antigua Guatemala
Mensajes: 4.032
Antigüedad: 21 años, 3 meses
Puntos: 53
Re: Controlar cuando se pulsa Mayúsculas + Enter

Cita:
Iniciado por freegirl Ver Mensaje
Hola,

gracias por la respuesta. Pero ya probé eso anteriormente y tampoco funcionaba.

Al final ya encontré la solución:

Ejemplo

Código:
Private Sub miControl_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles miControl.KeyDown

If e.Modifiers = Keys.Shift Then
    If e.KeyCode = Keys.Enter Then funcionY ()
  Else
    If e.KeyCode = Keys.Enter Then funcionX ()
End If

End Sub
saludos
que raro a mi me funcionó perfectamente pero bueno.. felicidades..

nos vemos..
__________________
* Antes de preguntar lee las FAQ, y por favor no hagas preguntas en las FAQ
Sitio http://www.geoavila.com twitter: @GeoAvila