VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Mask a Textbox

Chuck Potalivo  (2 Submissions)   String Manipulation   Intermediate   Wed 3rd February 2021

This function will turn any textbox into a MaskEdit box! Just call this function from the textbox Change event, or KeyUp events.
It may not seem like much, but it works, and I worked hard to figure this out just right. This is PURE VB code! Email me for a VB.NET version of this routine, although it is pretty easy to convert.
Please rate my submissions! I enjoy hearing feedback on my code. Thanks all.

Inputs
A textbox object, and a mask string

Rate Mask a Textbox (2(2 Vote))
Mask a Textbox.bas

Mask a Textbox Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters