How do I write a code to activate a popup menu when I right click in a label control?

  • Thread starter Thread starter Eng Teng
  • Start date Start date
E

Eng Teng

How do I write a code to activate a popup menu when I right click in a label
control?

Regards,
Tee
 
Eng Teng said:
How do I write a code to activate a popup menu when I right click in a
label control?

Add a contextmenu component to your form and assign it to the control's
'ContextMenu' property.
 
How do I write a code to activate a popup menu when I right click in a label
control?

Regards,
Tee

Hi,
If you're meaning contextmenu by saying pop-up menu, you can show it
with a right click by just assigning ContextMenuStrip to a label from
properties window of label.

Thanks,

Onur
 
Hi !,

Excuse me if I ask a related question and for help. I use MS
Visio2003 with a tablet pc. I'd like to be able to use the pen's mouse
button while in the application window to change the current mode of
things without having to navigate the toolbar or menus. This would
make the experience of using the SW very sweet and powerful.

I'd like to go for example from the selector tool to certain ink
tools (e.g eraser) with just a popup menu activated in the main
window. I am not a seasoned programmer so that is why I am looking for
help, even willing to pay for sample or working code. I have messed
around with the macro recorder in Visio so I think I had a handle on
changing the modes but how to work the menu's would take a real real
lot of my time which is where I'd prefer to pay or get help from a
seasoned programmer.


Cheers,
Art
 
Hi !,

Excuse me if I ask a related question and for help. I use MS
Visio2003 with a tablet pc. I'd like to be able to use the pen's mouse
button while in the application window to change the current mode of
things without having to navigate the toolbar or menus. This would
make the experience of using the SW very sweet and powerful.

I'd like to go for example from the selector tool to certain ink
tools (e.g eraser) with just a popup menu activated in the main
window. I am not a seasoned programmer so that is why I am looking for
help, even willing to pay for sample or working code. I have messed
around with the macro recorder in Visio so I think I had a handle on
changing the modes but how to work the menu's would take a real real
lot of my time which is where I'd prefer to pay or get help from a
seasoned programmer.


============================================

Have you tried the "Microsoft Office XP Pack for Tablet PC"
http://www.microsoft.com/downloads/...48-269B-4838-AB9E-74B64626A494&displaylang=EN

Support isn't quite up to what is available for Word, Excel, etc. But better
than nuth'n.

-ralph
 
Have you tried the "Microsoft Office XP Pack for Tablet PC"http://www.microsoft.com/downloads/details.aspx?FamilyID=33790048-269...

Support isn't quite up to what is available for Word, Excel, etc. But better
than nuth'n.

-ralph

Hi Ralph,

I think I have it installed. What is there in 2003 Visio on my tablet
is pretty darn good. It's just that if you could switch between simple
tools and modes you can really turbo charge your work flow and
concentration. If you draw or write a little idea down and you need to
quickly move it somewhere you have to stop what you are doing lose
your ink took go to select mode, select the item, move it, go back to
ink mode, then rememeber what you were doing. I envision the creative
work flow would be much better if you could just right click the mouse-
pen button and change things. There are plenty of other examples I
could give too.

. I'll have a look at the XP pack but I am pretty sure I have it
already. I still think Visio is a quick but program and I dont think
much of the ink applications out there. that is why I am trying to
enhance visio and the pen experience.

Thanks much
 
Back
Top