28-03-2016, 07:54 AM
جرب:
كود :
Uses WideStrUtils;
if not WideStrUtils.InOpArray(Key, [#8, #13, '.', 'غ', '0', '1', '2', '3',
'4', '5', '6', '7', '8', '9']) then
Key := #0;

![[-]](https://delphi4arab.net/forum/D4A2020/collapse.png)