hi
i want to create one textbox in panel dynemically and it's property shuold set as password
plz help me

i use
txtbox.TextMode = "pasword";

Recommended Answers

All 3 Replies

You can use the property PasswordChar and assign a character to it, like txtBox.PasswordChar = "*" to hide the entered text.

hi
i want to create one textbox in panel dynemically and it's property shuold set as password
plz help me

i use
txtbox.TextMode = "pasword";

textbox.PasswordChar = '*';

Hope this help!

Click on your textbox then go to properties and look for "USESYSTEMPASSWORDCHAR" and set it as TRUE.

Always explore properties for basic changes.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.