Topic: Numeric entry only
How can one force entry of numbers only in a textbox? Thanks
My Visual Database → General → Numeric entry only
How can one force entry of numbers only in a textbox? Thanks
Property NumbersOnly:
Thanks Dmitry. Im stuck with version 1.42 for testing purposes. Any other way?
You should create event OnKeyPress for textbox
procedure Form1_Edit1_OnKeyPress (Sender: string; var Key: Char);
begin
if not (Key in ['0'..'9']) then Key:=#0;
end;
My Visual Database → General → Numeric entry only
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi