Como saber el estado de la tecla CAPSLOCK
Tengo un formulario de inicio de sesión de una aplicación en Visual Basic 6.0, y quiero que cuando el cuadro de texto para introducir el password reciba el enfoque me salga un mensaje de advertencia de que la tecla CAPSLOCK esta activada, algo parecido con en inicio de sesión de windows. Me podrían ayudar en esto por favor?
Se los agradezco de antemano.
Enner T.
Se los agradezco de antemano.
Enner T.
Hola,
mete un statusbar y este código.
' Delete the first Panel object, which is
' created automatically.
StatusBar1.Panels.Remove 1
Dim i As Integer
' The fourth argument of the Add method
' sets the Style property.
For i = 0 To 7
StatusBar1.Panels.Add , , , i
Next i
' Put some text into the first panel.
StatusBar1.Panels(1).Text = "Text Style"
Verás que al pulsar la tacla capslock se pone en negrita el segundo panel.
A partir de ahí te toca inventar ;-)
salu2
sdemingo
mete un statusbar y este código.
' Delete the first Panel object, which is
' created automatically.
StatusBar1.Panels.Remove 1
Dim i As Integer
' The fourth argument of the Add method
' sets the Style property.
For i = 0 To 7
StatusBar1.Panels.Add , , , i
Next i
' Put some text into the first panel.
StatusBar1.Panels(1).Text = "Text Style"
Verás que al pulsar la tacla capslock se pone en negrita el segundo panel.
A partir de ahí te toca inventar ;-)
salu2
sdemingo
