Solved

How to add a ribbon in a form Ac07/Ac10

Posted on 2011-09-26
6
243 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
Comment Utility
0
 
LVL 57

Assisted Solution

by:Jim Dettman (Microsoft MVP/ EE MVE)
Jim Dettman (Microsoft MVP/ EE MVE) earned 250 total points
Comment Utility

  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
Comment Utility
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 57

Expert Comment

by:Jim Dettman (Microsoft MVP/ EE MVE)
Comment Utility
<<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
Comment Utility
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
Comment Utility
Jim & Peter - THANKS for the help!
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

743 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now