Ver Mensaje Individual
  #8  
Antiguo 28-05-2011
luchifer luchifer is offline
No confirmado
 
Registrado: jul 2007
Ubicación: Santa Cruz - Bolivia
Posts: 50
Reputación: 0
luchifer Va por buen camino
Prefiero utilizar el evento onkeypress del edit y coloco el codigo, por ejm:

if not (Key in ['0'..'9',#8,#13,'.']) then Key := #0 else
if key=#13 then sendmessage(Fing_nota.Handle,WM_NEXTDLGCTL,0,0)

o sea en este caso si no presionan solo numeros, el edit no acepta otro caracter
Responder Con Cita