?
Solved

How to add a ribbon in a form Ac07/Ac10

Posted on 2011-09-26
6
Medium Priority
?
291 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 1000 total points
ID: 36599725
0
 
LVL 58

Assisted Solution

by:Jim Dettman (Microsoft MVP/ EE MVE)
Jim Dettman (Microsoft MVP/ EE MVE) earned 1000 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 58
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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Suggested Courses

770 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