Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to add a ribbon in a form Ac07/Ac10

Posted on 2011-09-26
6
Medium Priority
?
300 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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

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…
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

618 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