Allow shortcut menu on control but not form

T

Tony Vrolyk

Is it possible to assign and turn on a shortcut menu on a control but at the
same time turn off the shortcut menu on the form?

Tony
 
A

Albert D. Kallal

I guess the solution is to make a small shortcut menu for the whole form
that either does nothing, or does very little. You could even make the menu
show:

[No options Available]

But, you are correct, if you turn off the right click menu for a form, then
individual controls that have THEIR OWN right click menu ALSO get turned
off. So, the simply solution is the above idea, and you just create a real
dumb right click menu for the whole form that does nothing.
 
T

Tony Vrolyk

Good idea but

Seems to me that the form should have properties something like
Shortcut Menu = Yes/No
Shortcut Menu Controls = Yes/No

Then if you used...
Shortcut Menu = No
Shortcut Menu Controls = Yes
.... then shortcut menu settings on any one control would still function but
still give you the option to turn off all shortcut menus if you like

Anyway, thanks for the suggestion.
Tony
 
T

Tony Vrolyk

AHA!

Duh - I already had my situation fixed.

In my startup settings I have "Allow Default Shortcut Menus" turned off.
This effectively does exactly what I want. I just didn't remember I had it
that way because I always start the DB with Shift when developing.

Tony
 
A

Albert D. Kallal

I did not think of that! Very good soltion!


Tony Vrolyk said:
AHA!

Duh - I already had my situation fixed.

In my startup settings I have "Allow Default Shortcut Menus" turned off.
This effectively does exactly what I want. I just didn't remember I had it
that way because I always start the DB with Shift when developing.

Tony



Albert D. Kallal said:
I guess the solution is to make a small shortcut menu for the whole form
that either does nothing, or does very little. You could even make the menu
show:

[No options Available]

But, you are correct, if you turn off the right click menu for a form, then
individual controls that have THEIR OWN right click menu ALSO get turned
off. So, the simply solution is the above idea, and you just create a real
dumb right click menu for the whole form that does nothing.


--
Albert D. Kallal (MVP)
Edmonton, Alberta Canada
(e-mail address removed)
http://www.attcanada.net/~kallal.msn
 

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