Results 1 to 3 of 3

Thread: not letting anything in to a text box

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    how do I not let anything into a text box? like I have code there, I want people to be able to copy it but not change it
    NXSupport - Your one-stop source for computer help

  2. #2
    Addicted Member
    Join Date
    Jan 2000
    Location
    Sydney, Australia
    Posts
    196
    set the "Locked" property of the textbox to true - you can do it at design time or at runtime


  3. #3
    Guest
    Code:
    Private Sub Text1_KeyPress(KeyAscii As Integer)
    KeyAscii = 0
    End Sub

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width