How to remove a control from a tab control

P

Philippe

I have a problem with tabcontrols : in Design mode,if I
put a control on a tab page in a tabcontrol (for example
a label), and then want to remove it, I can't remove it
(the Cut option is disabled, as well as the Edit/Copy
one...)

Any idea of what I do wrong ?

Philippe.
 
H

Herfried K. Wagner [MVP]

Philippe said:
I have a problem with tabcontrols : in Design mode,if I
put a control on a tab page in a tabcontrol (for example
a label), and then want to remove it, I can't remove it
(the Cut option is disabled, as well as the Edit/Copy
one...)

That's a known bug that occurs on some systems. You may want to take a look
at your form's 'Sub InitializeComponent' and remove the code for the control
there. Don't forget to backup your form before doing that...
 

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