Manage a new instance of a form

W

Warrio

Hello!!

How can I manage the controls that are on a new instance of a form?
I have tried this, but doesn't give any result..

Dim myForm
Set myForm = New frm_Client
myForm.Command1.Visible = False 'hide the button
myForm.Show

the result is that, there is no error, and the button "Command1" still
visible
how can I hide it?

Thanks for any suggestion
 

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