![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|
|
#1
|
|||
|
|||
|
procedure TForm1.Edit1KeyPress(Sender: TObject; var Key: Char);
begin If not (Key in ['A'..'Z','a'..'z']) then key:=#0; end; |
|
#2
|
|||
|
|||
|
Gracias
alto capo! xD...
aca estamos renegando un rato con DBExpress, cualquier cosa te jodemos de nuevo en un rato. muchas gracias. |
|
#3
|
|||
|
|||
|
Cita:
|
|
#4
|
|||
|
|||
|
procedure TForm1.Edit1KeyPress(Sender: TObject; var Key: Char);
begin If not (Key in ['A'..'Z','a'..'z',#8,#13,#32 ]) then key:=#0; //para que permitas el BackSpace y el Enter y el espaciador end; |
![]() |
| Herramientas | Buscar en Tema |
| Desplegado | |
|
|
Temas Similares
|
||||
| Tema | Autor | Foro | Respuestas | Último mensaje |
| validar un precio en un tedit | jesus83 | Conexión con bases de datos | 11 | 11-01-2008 11:29:47 |
| Validar e-mail en tedit | kakesoft | OOP | 4 | 12-12-2005 17:45:15 |
| Validar tipo de datos en un Tedit.. | Epunamun | Varios | 9 | 02-10-2005 08:51:51 |
| validar datos en TEdit | Luli | Varios | 1 | 26-01-2005 02:35:45 |
| Pasar el valor de un TEdit dentro de un StringGrid a otro TEdit que está fuera | atirado | Varios | 4 | 11-09-2004 19:13:48 |
|