Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Disable Format MINI Toolbar in Access

Posted on 2014-11-25
4
Medium Priority
?
332 Views
Last Modified: 2014-11-29
I have Access 2007 and 2010. Several Forms have Rich Text Textboxes. I am formating selectable text by HTML and VB code. The Format Mini Toolbar is getting in the way (hiding) other needed command buttons. Also I do not want the user to format via the Mini Toolbar. How may I disable? The Mini Toolbar may be disabled in Word, Excel and Powerpoint Options / General but not in Access. I have searched for Registry Hacks and various properties. This must be accomplished withing Access.
0
Comment
Question by:drlittle
[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
  • 2
4 Comments
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 2000 total points
ID: 40465649
MINI Toolbar
Do you mean that floating toolbar that appears whenever you select a block of rich text?
I have not found a way to disable it...
...But it will go away when you hit the "Esc" key
...so try this on the MouseUp event:
   
    SendKeys "{esc}"

It worked for me, ...when a user selects the rich text with the mouse, it sends an "esc" key to the application, ...thus turning off the floating toolbar.
...a bit of a hack, ...but it might fit your needs...
;-)

The Mini Toolbar may be disabled in Word, Excel and Powerpoint Options / General but not in Access.
My guess is that you can format almost any text in those programs as HTML/Rich text.
In Access, Rich Text/HTML formatting is permitted only on the TextFormat=RichText fields

;-)

JeffCoachman
0
 
LVL 58
ID: 40466728
Nice work a round Jeff!

I saw this yesterday and was looking for a way to kill it and came up with nothing.

But rather than the mouse up event, I might try Got Focus so it works either way (keyboard or mouse) or do a little user training and tell them to hit esc when then need it out of the way (unless of course you don't need it at all).

Jim.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 40467166
Jim,
Hey, ...
I tried GotFocus, ...but it did not work for me. (I only could test this in Access 2013)
My guess is that because the floating toolbar seems to appear directly after the users actually lets go of the mouse button (MouseUp?)...that I would try MouseUp.

To be fair, ...I only tried those two events, (Got Focus and MuseUp) ...so another one of the events might also work (or actually even be more fitting...)
;-)

As always, I only use Sendkeys as a last resort .

;-)

Jeff
0
 

Author Closing Comment

by:drlittle
ID: 40471769
Thanks Jeff,

This works but be careful where you place the SendKeys "{esc}" as it can interfere with routines in other ways. I ended going back to Total Access MEMO for rft editing. The MEMO RichText TextBox is not editor friendly and writing a simple editor myself did not warrant the extra trouble. My application needed to edit and underline text highlighted by the mouse cursor.

Regards,
Dave
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
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…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

670 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