Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Mar 2006
    Thanked 0 Times in 0 Posts

    Hide and unhide toolbar (Access 2000)

    What is the command to show the customized toolbar ? I want to have a special toolbar only for one from, and when i close the form, to hide this toolbar.Also,when i write the functions for the buttons of this toolbar,
    can i store them in the form, so to be private and not public? Is it a convenient way to save space on the form ?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Thanked 31 Times in 31 Posts

    Re: Hide and unhide toolbar (Access 2000)

    Open the form in design view.
    Activate the Other tab of the Properties window.
    Select the name of the custom toolbar in the Toolbar property.
    Close and save the form.
    Now close/hide the custom toolbar.
    Access will automatically show it when the form is opened, and hide it again when the form is closed.

    The code for a button MUST be a Public Function. You can put it in the form module, but it cannot be a Private Function.

    > Is it a convenient way to save space on the form ?
    That depends on what you want.

Posting Permissions

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