Hi,
Anybody know how to set an editmask on TunimDBedit, I only want to allow numeric characters. Is there a property for this or can it be done Onchange or OnKeyUp event? I found a code below online but did not work,
if not (Key in [#8, '0'..'9', DecimalSeparator]) then begin ShowMessage('Invalid key: ' + Key); Key := #0; end else if (Key = DecimalSeparator) and (Pos(Key, Edit1.Text) > 0) then begin ShowMessage('Invalid Key: twice ' + Key); Key := #0; end;
/Best regards
Christian J