devxlogo

Fixing a Proper Case Tip

If you use the left arrow key to go back to the beginning of a word and then enter a letter, you get twouppercase letters. Use this code, which takes advantage of the built-in VB4/VB5 StrConv() function, toautomatically capitalize words upon entering:

 Private Sub Text1_Change()        If Text1.Tag = "" Then                Text1.Tag = Text1.SelStart                Text1.Text = StrConv(Text1.Text,        vbProperCase)                Text1.SelStart = Text1.Tag                Text1.Tag = ""        End IfEnd Sub

Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.

See also  How Engineering Leaders Spot Weak Proposals

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.