Controls don't show on form

H

Herfried K. Wagner [MVP]

* Morten Snedker said:
No - I put the controls there myself. But on runtime they don't
show....?

Are you sure they are added to the form's 'Controls' collection
('Me.Controls.Add(Me.Button1)' and so on)?
 
M

Morten Snedker

Are you sure they are added to the form's 'Controls' collection
('Me.Controls.Add(Me.Button1)' and so on)?

No, not really. I've made a couple of projects before. With those just
taken controls from the toolbox and placed them on the form, pressed
F5, and the would show on the form.

Using the code from the link above, and then adding controls...why
don't they show automatically as they usually do??

If i'm misunderstanding something please guide me...

Once again - thx in advance...


/Snedker
 

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