visible false in an event

adaniele

Registered User.
Local time
Today, 13:23
Joined
Jul 18, 2005
Messages
176
Hi guys, here is my problem. thx 4 hlping me.

i created a form to work as a menu. At this point the menu has only one option (File) which is a text box. Once the user click on the text box FILE, a list box appears below, leting the user select between a few options. When the user clicked one of the options , a new forms comes (popup and modal in yes).

The problem is that when the second form is closed, the menu still has the list box visible. I would like to make it no visible but i dont know how.

any clue?

thx, max.
 
adaniele said:
When the user clicked one of the options , a new forms comes (popup and modal in yes).QUOTE]

Add a line to the existing code:

Me.TextBoxName.Visible = False
 
Oldsoftboss said:
adaniele said:
When the user clicked one of the options , a new forms comes (popup and modal in yes).QUOTE]

Add a line to the existing code:

Me.TextBoxName.Visible = False

Oldsoftboss, thx for your suggestion.
My problem is not the code. my problem is where to put the code....
if i put the code in the new form, an error appears because, the list box is still focused and i cant hide it. The same happens if i put it before opening the second form.
i also, try to set focus in another text box, but it didn't work.

thx, max.
 

Users who are viewing this thread

Back
Top Bottom