Question about VS2003 IDE

P

Peter

While I edit forms under VB.NET2003, One thing often puzzles me: When I
right click a form and popup a contextmenu, the contextmenu usually
contains: "View code","Bring to front","Send to back","Cut","Copy" and so
on. Some time almost all the submenus are enabled, some time only "View code
is enabled",and in the second case I don't know how to enable the other
submenus. Any help will be great appreciated,

Peter
 
M

Micky

Peter said:
While I edit forms under VB.NET2003, One thing often puzzles me: When I
right click a form and popup a contextmenu, the contextmenu usually
contains: "View code","Bring to front","Send to back","Cut","Copy" and so
on. Some time almost all the submenus are enabled, some time only "View code
is enabled",and in the second case I don't know how to enable the other
submenus. Any help will be great appreciated,

It's a context menu. That means the items shown are always within the
context of the object(s) that you right-clicked upon -- be it the form
itself, or one or more objects upon the form.

Right-clicking a form and expecting to be able to "Send to back" is
sheer nonsense -- it's outwith the context of a form. But right-clicking
a label upon the form brings it into context -- because labels can be
sent backwards or forwards in the form's Z-order.

Disabled items (greyed items) simply mean that although the item
is within the context of the selected object(s), some other condition
prevents it from being selectable. For instance, the Paste option is
only enabled when the clipboard actually contains something you
can paste into the selected object. If the clipboard is empty, the
Paste option is visible, but greyed (disabled).
 

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