Manage a new instance of a form

  • Thread starter Thread starter Warrio
  • Start date Start date
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
 
Back
Top