Allow shortcut menu on control but not form

  • Thread starter Thread starter Tony Vrolyk
  • Start date Start date
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
 
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.
 
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
 
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
 
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
 
Back
Top