VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Restricts number textboxes from accepting chars.

Chris Onyishi  (2 Submissions)   Custom Controls/Forms/Menus   VB 6.0   Unknown Difficulty   Wed 10th December 2003   Mon 8th February 2021

Restricts number textboxes from accepting chars.

API Declarations


'When we enter data through the keyboard, the char entered is stacked in the
'keyboard buffer and the buffer pointer is incremented. This code
'uses "IsNumeric" - whenever there is change - to check if the contents of the
'buffer is all numeric. If it is not, "SendKeys" is used to send backspace
'which robs off the char from the buffer by decrementing the buffer pointer and
'if the PC is very fast, Pentium 4, the user gets the feeling that nothing was
'pressed.


Rate Restricts number textboxes from accepting chars. (1(1 Vote))
Restricts number textboxes from accepting chars..bas

Restricts number textboxes from accepting chars. Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters