So, today I needed to create a 'password' entry text box for my application at work. I needed to have this perform like every other password text box, but I also needed the text box to be MUCH larger than normal (the application is for Tablet PC and everything is over sized).
I set the UseSystemPasswordChar to true and ran the application and BAM... nothing happened.
OK, so I set the PasswordChar to '*' and set UseSystemPasswordChar to false and re-ran the application and BAM.... nothing happened again.
Now I am stumped. So I go out to MSDN to make sure I am doing this correctly and sure enough it appears I am.
After looking at ALL the properties for the control for a good 5 minutes I realized that I had set the MultiLine property to true. Just for fun I set it back to false and re-ran the application and BAM... it now works.
OK, can anyone tell me WHY setting the MultiLine property to true will NOT allow either the PasswordChar or UseSystemPasswordChar to work correctly? I went out the MSDN again, but could not find any reference to MultiLine anywhere on these topics.
Is it just me or is this odd?