Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Added Command Button To Reply Message

Status
Not open for further replies.

RAxel

MIS
Sep 8, 2005
121
US
I have created the subject textbox to be read only when a person replies to it, so it obviously won't be changed. What I want to do is add another textbox, right beside the subject and a button.

Inside this textbox (which I've called txtPassword), I want someone to enter the password and hit the button (btnPassword). If the password is correct, I want the subject to become editable. Basically, unchecking the readonly box in the properties.

I have the button and the textbox. What I want to know is how, in the visual basic editor, do I get the subject box to change so that it can be editable when a user clicks the button?
 
Ok, maybe someone can explain this to me. I changed it to txtPassword.Text = "" and all of a sudden it works. Before, I had it like that and it said Object Required, and I could've sworn I already instantiated txtPassword. Oh well, it works, thx ppl.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top