Código Delphi [-]if not(key in ['0'..'9', '.', ',', #8, #9]) then key:=#0;
if not(key in ['0'..'9', '.', ',', #8, #9]) then key:=#0;