Ver Mensaje Individual
  #4  
Antiguo 26-05-2007
reevil reevil is offline
Miembro
 
Registrado: abr 2006
Posts: 179
Reputación: 19
reevil Va por buen camino
para mayusculas

Código Delphi [-]
if(!((Key >= 65 && Key <= 90) || Key == 46 || Key == 8|| Key == VK_RETURN ))
    Key = 0;

para minusculas
Código Delphi [-]
if(!((Key >= 97 && Key <= 122) || Key == 46 || Key == 8|| Key == VK_RETURN ))
    Key = 0;
Responder Con Cita