Read Only Text Boxes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Baladin
    New Member
    • Feb 2008
    • 14

    Read Only Text Boxes

    A quick question, is there a way to make a text box/combo box read only without disabling it
    (as in:)

    Code:
    TextBox.enabled = false
    ComboBox.enabled = false
    I dont want to do it that way because it greys out the text box

    (using VB 2008 express)
  • daniel aristidou
    Contributor
    • Aug 2007
    • 494

    #2
    Originally posted by Baladin
    A quick question, is there a way to make a text box/combo box read only without disabling it
    (as in:)

    Code:
    TextBox.enabled = false
    ComboBox.enabled = false
    I dont want to do it that way because it greys out the text box
    K...
    Textbox.locked = true
    etc

    (using VB 2008 express)
    nice

    Comment

    • Baladin
      New Member
      • Feb 2008
      • 14

      #3
      ah, ha, seems so simple

      cheers


      P.S. Vb 2008, is nice

      Comment

      Working...