AW: AW: [AccessD] Programmatically Disable or Hide MenuBar CustomizeFunction

Michael Brösdorf michael.broesdorf at web.de
Mon Aug 2 11:16:14 CDT 2004


Greg,

if you find a way to make it happen without a restart I'd be interested as
well!
A workaround would be to create an application launcher that takes care of
it from the outside...

Michael

-----Ursprüngliche Nachricht-----
Von: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Greg Smith
Gesendet: Montag, 2. August 2004 17:48
An: accessd at databaseadvisors.com
Betreff: Re: AW: [AccessD] Programmatically Disable or Hide MenuBar
CustomizeFunction


Michael:

All of those DO work...(I'd forgotten about the "AllowToolbarChanges"
property...).  And they do require a restart of the app to take effect.
Which makes it a little awkward (for the programmer...who'll have to login
to the app twice to get everything back to 'programming normal'...), but
the normal users won't know any different since it'll be in their mode of
not allowing any changes when they login.  The programmer will have to
make sure of that, of course.

If this is the only option (having to restart the app) available, then
I'll have to live with that.

Thanks again Michael.  I appreciate your help!

Greg
gregsmith at starband.net


> Greg,
>
> try this:
>
> CurrentDb.Properties("AllowToolbarChanges")=true/False
>
> And maybe these are of interest, too:
> CurrentDb.Properties("AllowFullMenus")
> CurrentDb.Properties("AllowShortcutMenus")
> CurrentDb.Properties("AllowSpecialKeys")
> CurrentDb.Properties("AllowBuiltinToolbars")
>
> AFAIK, you'll have to restart the application for changes to take effect
> though...
>
> HTH,
>
> Michael
>
> -----Ursprüngliche Nachricht-----
> Von: accessd-bounces at databaseadvisors.com
> [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Greg Smith
> Gesendet: Montag, 2. August 2004 16:11
> An: accessd at databaseadvisors.com
> Betreff: [AccessD] Programmatically Disable or Hide MenuBar Customize
> Function
>
>
> Hello everyone!
>
> This is a 'refined' repeat of a question I asked on Friday and I
> "thought" I responded to another question about it last night...but my
> repsonse is not here...so I'm going to try again.  Access97, by the way.
>
> I want to be able to have the "customize" function that appears when you
> RMC (right mouse click) .... NOT appear.  I know you can do this through
> Access's tools (unclick the checkbox), but I need to be able to
> enable/disable it through the code.  As long as that function exists for
> any users, they can 'create' their own toolbar or menubar and do
> whatever they want.
>
> You can disable the RMC menus for a FORM, but that does not affect the
> RMC on the toolbars.  Tried that.
>
> Of course, if there were a way to disable the RMC for the MENU's through
> the code...that would work.  However, I've not been able to discover how
> to do that.
>
> As always, TIA!
>
> Greg Smith
> gregsmith at starband.net
>
>
>


--
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list