Show / Hide a Text Box via a Button

S

Scuda

Morning all, I searched but did not find my answer. What I would like to do
is code a button to Show or Hide a comments section on my form, to save some
space.

thanks in advance!

Steph
 
K

Klatuu

In the click event of the button, you can toggle it between hidden and
visible like this:

Me.txtComments.Visible = Not Me.txtComments.Visible
 
S

Scuda

That's exactly what I needed, thanks so much!!!

Klatuu said:
In the click event of the button, you can toggle it between hidden and
visible like this:

Me.txtComments.Visible = Not Me.txtComments.Visible
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top