Problem being unable to delete controls in VB.NET 2003

  • Thread starter Thread starter David
  • Start date Start date
D

David

I have posted this request on several groups but not yet found anyone who
has experience the problem. Hopefully this group may be more appropriate for
the post.

I run VB.NET in Windows 2000 Professional.
The problem is that if I place a Tab Control on a Form and then Add controls
to the TAB pages (Such as Textboxes, comboboxes etc). I cannot delete them
or the control. This occurs duing DESIGN time while trying to pay out the
form.

The other peculiar behaviour is that When I click on a control inside the
Tab page, the mouse movement is constrained to the region of the Tab
Control. If I click the Tab control it released the mouse movement.
Sometimes (I am not sure how I manage to do this), I can switch to Code view
and the mouse movement is still restricted to the area of where the Tab
control would have been. I then have to use the keypad to exit VB and
restart the program again.

Any help much appreciated as I can only manage this by setting the visible
properties of controls I cannot delete to false. (BTW: I have emailed
Microsoft and they state it is a Backoffice product support issue and they
cannot help me - may need to pay them to find out why their software acts
strange ?).
 
David,

I answered you in the general newsgroup, about locked controls.

I think as well that this is a better newsgroup for this question, however,
did you try this with a complete new project?

That gives us an in my opinion a better insight in your problem.

Cor
 
Cor,

If these controls are LOCKED, how do you unlock them ?

The locked property in the property list for all controls is set to false.

Yes, This did this on a previous project, I created a new project and was
initially able to delete controls from the Tab control and at some point I
was no longer able to do this.

Am I inadvertantly clicking some region that is locking some property that
effects ALL controls on the form that is set somewhere other than the
properties ?
 
I played a bit more and found the following behaviour.

When I first start the IDE, I can delete controls from the main form and
from the Tab control.

Once I select any other TAB, I cannot delete any controls, even on the main
tab.
All controls can be moved OK but not deleted, cut, copied, pasted (ie. all
the options from right click menu are ghosted out when this occurs.)
 
David,
Yes, This did this on a previous project, I created a new project and was
initially able to delete controls from the Tab control and at some point I
was no longer able to do this.
The only thing I can ask you to do this again,
create a new project
drag a tabpage
drag a texbox on it
delete the textbox
delete the tabpage

When this works, than I think it is something you are doing on the way, and
that we cannot see from here.

Can you do this simple test?

Cor
 

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

Back
Top