Group:  Microsoft Access ยป microsoft.public.access.devtoolkits
Thread: Right-click disabled in .mde

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Right-click disabled in .mde
Jim V 27.07.2006 15:58:02
Why is the right-click disabled in .mde files and how can it be enabled?
Re: Right-click disabled in .mde
"Alex Dybenko" <alexdyb[ at ]PLEASE.cemi.NO.rssi.SPAM.ru> 27.07.2006 16:43:07
Look at menu tools-startup, perhaps allow default shortcut menus option is
switched off

--
Best regards,
___________
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com

"Jim V" <JimV[ at ]discussions.microsoft.com> wrote in message
news:134CB2A7-4133-47A2-91EF-2160F6F6813C[ at ]microsoft.com...
[Quoted Text]
> Why is the right-click disabled in .mde files and how can it be enabled?

Re: Right-click disabled in .mde
"Craig Alexander Morrison" <cam[ at ]microsoft.newsgroups.public.com> 27.07.2006 16:43:44
You need to enable it!

Have you set the Form's properties to Shortcut Menu=Yes and in Shortcut
MenuBar select your custom menu.

--
Slainte

Craig Alexander Morrison
Crawbridge Data (Scotland) Limited
"Jim V" <JimV[ at ]discussions.microsoft.com> wrote in message
news:134CB2A7-4133-47A2-91EF-2160F6F6813C[ at ]microsoft.com...
[Quoted Text]
> Why is the right-click disabled in .mde files and how can it be enabled?


Re: Right-click disabled in .mde
"Rick Brandt" <rickbrandt2[ at ]hotmail.com> 27.07.2006 16:55:08
Jim V wrote:
[Quoted Text]
> Why is the right-click disabled in .mde files and how can it be
> enabled?

Shortcut menus are not disabled in MDEs but they are not available in the
runtime environment. MDEs are so often used in the runtime environment that
many people conflate the two. If what you actually need are shortcut menus
in the runtime environment then you have to add your own. None of the built
in command bars are available in the runtime (including shortcut menus).

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


Re: Right-click disabled in .mde
Jim V 27.07.2006 17:20:01
Right-click is enabled if I start the .mde file from Access and are disabled
with the /runtime option. Many of my users do not have full Access but
runtime versions so this presents an issue.

I have not added shortcut menus in the runtime environment before but it
sounds like I about to discover how to do this.

Any input would be appreciated and thank you all for your quick replies.

"Rick Brandt" wrote:

[Quoted Text]
> Jim V wrote:
> > Why is the right-click disabled in .mde files and how can it be
> > enabled?
>
> Shortcut menus are not disabled in MDEs but they are not available in the
> runtime environment. MDEs are so often used in the runtime environment that
> many people conflate the two. If what you actually need are shortcut menus
> in the runtime environment then you have to add your own. None of the built
> in command bars are available in the runtime (including shortcut menus).
>
> --
> Rick Brandt, Microsoft Access MVP
> Email (as appropriate) to...
> RBrandt at Hunter dot com
>
>
>
Re: Right-click disabled in .mde
"Rick Brandt" <rickbrandt2[ at ]hotmail.com> 27.07.2006 18:02:42
Jim V wrote:
[Quoted Text]
> Right-click is enabled if I start the .mde file from Access and are
> disabled with the /runtime option. Many of my users do not have full
> Access but runtime versions so this presents an issue.
>
> I have not added shortcut menus in the runtime environment before but
> it sounds like I about to discover how to do this.
>
> Any input would be appreciated and thank you all for your quick
> replies.

Right-click on any command bar and choose "Customize". In the resulting
dialog is a [New] button used for creating new menus (regular and shortcut)
and toolbars. After you initially create a new command bar you can choose
the "type" to make it a shortcut menu. Then you just set the control and or
form/report properties in your app so that they use the custom menus you
have created. Look for the shortcut menu property.

As stated often in this group, an app meant to be used with the runtime must
be a "fully polished" application. You cannot just take a typical Access
file and use it effectively in the runtime. In addition to providing all of
your own command bars you have to have very robust error handling. Errors
that just display a message in licensed copies of Access will usually throw
the user all the way out of a runtime app if the error is not trapped for
and handled.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


Re: Right-click disabled in .mde
Jim V 27.07.2006 18:40:03
Rick

Thanks again. I've been developing runtime apps for over 10 years and my
user interface is always well-pollished. I rarely use custom menubars and
always trap errors.

I cannot see where you select the "type" to make it a shortcut menu. Can
you further explain this.

Jim




"Rick Brandt" wrote:

[Quoted Text]
> Jim V wrote:
> > Right-click is enabled if I start the .mde file from Access and are
> > disabled with the /runtime option. Many of my users do not have full
> > Access but runtime versions so this presents an issue.
> >
> > I have not added shortcut menus in the runtime environment before but
> > it sounds like I about to discover how to do this.
> >
> > Any input would be appreciated and thank you all for your quick
> > replies.
>
> Right-click on any command bar and choose "Customize". In the resulting
> dialog is a [New] button used for creating new menus (regular and shortcut)
> and toolbars. After you initially create a new command bar you can choose
> the "type" to make it a shortcut menu. Then you just set the control and or
> form/report properties in your app so that they use the custom menus you
> have created. Look for the shortcut menu property.
>
> As stated often in this group, an app meant to be used with the runtime must
> be a "fully polished" application. You cannot just take a typical Access
> file and use it effectively in the runtime. In addition to providing all of
> your own command bars you have to have very robust error handling. Errors
> that just display a message in licensed copies of Access will usually throw
> the user all the way out of a runtime app if the error is not trapped for
> and handled.
>
> --
> Rick Brandt, Microsoft Access MVP
> Email (as appropriate) to...
> RBrandt at Hunter dot com
>
>
>
Re: Right-click disabled in .mde
"Rick Brandt" <rickbrandt2[ at ]hotmail.com> 27.07.2006 19:32:19
Jim V wrote:
[Quoted Text]
> Rick
>
> Thanks again. I've been developing runtime apps for over 10 years
> and my user interface is always well-pollished. I rarely use custom
> menubars and always trap errors.

So your apps have no menus? Odd, but doable I suppose if you run everything
from menu forms. Without custom menus and toolbars a user wouldn't even be
able to print a report from a preview of it.

> I cannot see where you select the "type" to make it a shortcut menu.
> Can you further explain this.

After you create the new command bar go to its property sheet. The type is
available there.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net