![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
#7
|
||||
|
||||
|
Prueba con esto:
Código:
procedure TForm1.Edit1KeyPress(Sender: TObject; var Key: Char);
begin
if ( StrScan('0123456789',Key) <> nil ) or
( Key = Char(VK_BACK) ) then { Habilitar tecla de borrado }
begin
{Aqui tu tratamiento normal del evento}
end
else
Key := #0;
end;
|
| Herramientas | Buscar en Tema |
| Desplegado | |
|
|
|