s-galit <sg****@discussions.microsoft.com> wrote:
i have a textbox that used for entering password (passwordChar=*)
when im doing cut,copy,paste to the textbox.text its not working
how to do the paste in this case?
I just tried this (added a new System.Windows.Forms.TextBox to a form and
set its PasswordChar property to '*') and when I attempt to cut or copy
from it (Ctrl-X and Ctrl-C, respectively), a tooltip is displayed that
reads that I cannot copy text from a password field. The cut and copy
context menu (right-click) items are disabled. This is what I'd expect.
Pasting, on the other hand, works fine.
Can you explain what happens when you try, and how this doesn't meet your
expectations of what should happen?