Um unico tipo de informação no LabeledEdit
Ae, eu to fazendo uma agenda, e quero k no LabeledEdit1 so aceite numeros, letras outro tipo de informação ñ aceita.
Bigtama
Curtidas 0
Respostas
Beppe
12/10/2003
Coloque no OnKeyPress:
if (Key <> #9) or not IsCharAlphaNumeric(Key) then Key := 0;
Ataliba
if (Key <> #9) or not IsCharAlphaNumeric(Key) then Key := 0;
Ataliba
GOSTEI 0
Aristodemo
12/10/2003
no OnKeyPress...
if not (Key in [´0´..´9´, #13, chr(VK_BACK)]) then Key := 0;
Abraços...
if not (Key in [´0´..´9´, #13, chr(VK_BACK)]) then Key := 0;
Abraços...
GOSTEI 0