VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Lock/Unlock all textboxes

by Esmael Telmosa (7 Submissions)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 16th June 2006
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Lock/Unlock all textboxes

Rate Lock/Unlock all textboxes



   Dim Ctrl As Control
    
   For Each Ctrl In Me.Controls
      If TypeOf Ctrl Is TextBox Then Ctrl.Locked = bln
   Next
   
   Set Ctrl = Nothing
    
End Sub

Download this snippet    Add to My Saved Code

Lock/Unlock all textboxes Comments

No comments have been posted about Lock/Unlock all textboxes. Why not be the first to post a comment about Lock/Unlock all textboxes.

Post your comment

Subject:
Message:
0/1000 characters