Ver Mensaje Individual
  #2  
Antiguo 26-03-2004
Avatar de roman
roman roman is offline
Moderador
 
Registrado: may 2003
Ubicación: Ciudad de México
Posts: 20.269
Reputación: 10
roman Es un diamante en brutoroman Es un diamante en brutoroman Es un diamante en bruto
Intenta poner este código en el evento OnTimer de un timer:

Código:
  if GetKeyState(VK_NUMLOCK) and $00ff <> 0
    then StatusBar1.Panels[0].Text := 'NUM ON'
    else StatusBar1.Panels[0].Text := 'NUM OFF';

  if GetKeyState(VK_CAPITAL) and $00ff <> 0
    then StatusBar1.Panels[1].Text := 'CAPS ON'
    else StatusBar1.Panels[1].Text := 'CAPS OFF';
// Saludos
Responder Con Cita