Código Delphi [-] if Key in ['0'..'9'] then {...}
if Key in ['0'..'9'] then {...}
Código Delphi [-] if key in ['1'..'5'] then {...}
if key in ['1'..'5'] then {...}