Solved

How to add a ribbon in a form Ac07/Ac10

Posted on 2011-09-26
6
266 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access sql to sql server express 10 32
Reference Controls on subforms 7 27
backup programme - VBA 3 24
MS Access 2010 Close Form  Event - Stop Form Closing 4 27
Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

785 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