VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Two line code that restricts space at the begining of the TextBox

by Mahaveer Lodha Bangalore (4 Submissions)
Category: String Manipulation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 28th July 2005
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Two line code that restricts space at the begining of the TextBox

Rate Two line code that restricts space at the begining of the TextBox



'FOR DOUBTS MAIL : [email protected]
If Left(Text1, 1) = " " Then Text1 = LTrim(Text1)
End Sub

Private Sub Text1_GotFocus()
Text1 = LTrim(Text1)
End Sub


Download this snippet    Add to My Saved Code

Two line code that restricts space at the begining of the TextBox Comments

No comments have been posted about Two line code that restricts space at the begining of the TextBox. Why not be the first to post a comment about Two line code that restricts space at the begining of the TextBox.

Post your comment

Subject:
Message:
0/1000 characters