Results 1 to 4 of 4
  1. #1
    5 Star Lounger
    Join Date
    Jan 2004
    Location
    Norfolk, England
    Posts
    744
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Remove user toolbars (2000)

    Hi,
    Is it possible to remove the toolbars in a database that the user has pre-determined by Microsoft. i.e. When you right click on the toolbar and select Clipboard, Form Design etc?
    I have a set of predetermined Toolbars for forms, reports etc, and the forms are displayed at a specific size (not maximized). The only thing I have in Startup is Allow Built-In Toolbars.
    I also have the AcToolBarNo command in the open event of each form.
    The problem is arising that as the user opens the form, due to the displayed toolbars, that all of the form is not initially displayed on the screen. I don't need to worry about removing the toolbars from everyones machines, as nobody else is able to 'program' access.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Remove user toolbars (2000)

    I'm not sure I understand - what are "the toolbars ... that the user has pre-determined by Microsoft"? <img src=/S/scratch.gif border=0 alt=scratch width=25 height=29>

    If you set the Toolbar property of a form to the name of a custom toolbar, only that toolbar will be displayed when the form is opened, all other toolbars (built-in or custom) will be hidden. If the custom toolbar was hidden before the form was opened, it will be hidden again when the form is closed - no code needed. The same holds for reports.

  3. #3
    5 Star Lounger
    Join Date
    Jan 2004
    Location
    Norfolk, England
    Posts
    744
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Remove user toolbars (2000)

    I'm trying to get around the issue of having any toolbar at all. I've set up a Menu Bar that is used with all the forms. Although it has nothing in it. This displays the toolbars placed in Access by default, whenever a user opens a form, presumably because no specific toolbar has been associated with the form (just the menu bar).
    Presumably to get around this I need to place a toolbar in each form. Is there no way just to have no toolbar unless I specify it?

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Remove user toolbars (2000)

    Why don't you clear the "Allow built-in toolbars" check box in Tools | Startup...? The built-in toolbars will not be displayed at all then. It is a database-level setting. If you want to see the built-in toolbars for development purposes, keep the Shift key down while opening the database; this will bypass the startup options.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •