Solved

How to add a ribbon in a form Ac07/Ac10

Posted on 2011-09-26
6
272 Views
Last Modified: 2012-05-12
I am looking to add a custom 'toolbar' to my Access project.  I'd like to emulate the 'ribbon' look that Office 2007/2010 uses and started looking into using the code to generate a custom ribbon in Access 2007.

However, everything I find talks about modifying the existing ribbon in the Access window (blue).  I want to add a ribbon to the form (red).  I have included a .jpg to illustrate what I mean.

Do I need to re-create the toolbar using standard Access controls and make it 'look' like the ribbon, or is there a way to use the ribbon tools to add this function to a form?

I searched Google and EE for an example, but everything I find works with the window ribbon.
Ribbon.jpg
0
Comment
Question by:callstate
  • 3
  • 2
6 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 250 total points
ID: 36599725
0
 
LVL 57

Assisted Solution

by:Jim Dettman (Microsoft MVP/ EE MVE)
Jim Dettman (Microsoft MVP/ EE MVE) earned 250 total points
ID: 36599731

  Forms do not include ribbons.  Anything you do will need to simulate the ribbon.

  BTW, here's a great site with lots of info on everything you can do with ribbons:

http://www.accessribbon.de/en/

  Maybe rather then working with the form as you think, you might find another approch in dealing with the window ribbon.

Jim.
0
 

Author Comment

by:callstate
ID: 36599775
Thanks for the quick responses ...

Yes Peter, I did see that link .... Jim, I have been on that site as well.  That's what prompted my question.

Outlook 2010 uses a 'ribbon-like' toolbar in the client windows, and I'd like to use something similar in mine.  Just wondering if I needed to look at the ribbon tools, or recreate using Access controls.

I downloaded a cool example from http://www.accessribbon.de/en/ that customizes the window ribbon based on which form is displayed, and that's my 'Plan B' - but I really wanted a toolbar in the popup window instead like my .JPG illustrates.

I guess it kinda depends on how much trouble I want to go to to get it!
0
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
LVL 57
ID: 36599816
<<Outlook 2010 uses a 'ribbon-like' toolbar in the client windows, and I'd like to use something similar in mine.  Just wondering if I needed to look at the ribbon tools, or recreate using Access controls.>>

  Access forms are sub-classed windows and therefore the look/feel is controlled by Access.  Their not a true child window as they are in other applications, such as Outlook.

  So you can't add a ribbion yourself to an Access form other then simulate it.

<<I downloaded a cool example from http://www.accessribbon.de/en/ that customizes the window ribbon based on which form is displayed, and that's my 'Plan B' - but I really wanted a toolbar in the popup window instead like my .JPG illustrates.>>

  That's what I would do.  Between the Ribbon, Menubar, and shortcut menu properties, you can be very context specific when on a form, but it will all be in the main Access window and not the forms.

Jim.
0
 

Author Comment

by:callstate
ID: 37226847
I never was able to resolve the issue I wanted ... left the question open to see if any further responses.

For those coming across this thread in archive, what I did find was there is no way to do this in AC10 without resorting to a 3rd party control or 'simulating' it using built-in controls.
0
 

Author Closing Comment

by:callstate
ID: 37226853
Jim & Peter - THANKS for the help!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

766 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question