Results 1 to 5 of 5

Thread: Textbox lock property (Resolved)

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Dec 2001
    Location
    MD
    Posts
    182

    Exclamation Textbox lock property (Resolved)

    How do I achieve this

    For Each CntTxt In pnlMain.Controls
      If TypeOf CntTxt Is TextBox Then
        CntTxt.ReadOnly = True
        CntTxt.Cursor = Cursors.Arrow
        CntTxt.ForeColor = ForeColor.Blue
      End If
    Next

    Bolded line doesn't work.
    Last edited by vsusi; Oct 28th, 2003 at 12:06 PM.

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