Results 1 to 2 of 2

Thread: passwordchar problems

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Posts
    398

    passwordchar problems

    help!

    one of my text box just act weird lately.
    before the passwordchar works but all of a sudden it was messed up..

    now my textbox display normal values not passwordchar(*). ive already check its properties. then also tried to delete this textbox and create a new one with same name then change it passwordchar properties but it still fails to display. it just display normal text.

    i just pass values to the textbox from a variable

    txtPIN.text = variablename

    Code:
            Me.txtPIN.Font = New System.Drawing.Font("Tahoma", 11.0!, System.Drawing.FontStyle.Regular)
            Me.txtPIN.Location = New System.Drawing.Point(87, 41)
            Me.txtPIN.Name = "txtPIN"
            Me.txtPIN.PasswordChar = Global.Microsoft.VisualBasic.ChrW(42)
            Me.txtPIN.ReadOnly = True
            Me.txtPIN.Size = New System.Drawing.Size(120, 24)
            Me.txtPIN.TabIndex = 59
            Me.txtPIN.TabStop = False
    whats wrong with it?
    Last edited by rothj0hn; Jan 29th, 2010 at 03:04 AM.

  2. #2
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: passwordchar problems

    Just tried that code on mine, adding 'Me.txtPin.Text = "1234565"' and it works fine
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

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