473,545 Members | 1,759 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Change default font in zoom box?

42 New Member
Is there a way to do this? This is for my own benefit while developing in Access, not for the users.

Used to be that you could change UTILITY.MDA in Access 2.0 but I can't find the equivalent for Access 2000-2003.

Thanks in advance,
Bill
Nov 22 '07 #1
3 6867
missinglinq
3,532 Recognized Expert Specialist
In ACC2003, when you "zoom" a box, in the lower right hand corner of the zoombox, under the Okay and Cancel buttons there's one marked Fonts...

You can use it to set the font type/size for the zoomboxes, and the value will hold for that particular session of Access, which should do for your stated purposes. I think Utility.MDA was phased out after Access 7.0 which, coincidentally, was the year they finally got some of the bugs worked out!

Welcome to TheScripts!

Linq ;0)>
Nov 22 '07 #2
wvmitchell
42 New Member
Thanks for your reply. I knew about the Fonts button, but honestly it does not serve my purpose precisely for the reason you stated - it only holds for the current session of Access. That's why I asked the question. During the course of a day I might close and re-open an Access file a dozen times, and I'd like to have a font & size that "sticks". Maybe I'm a little bit older than your typical forum user, but for me Tahoma 8 is hard to read (Segue in 2007 is even worse). Windows itself has accessibility features but Office does not. A couple of years back Ken Getz had published unlocked versions of the Access 97 add-ins, I was hoping to find something like that for modern Access. I started by searching on this site for "Access zoom box default font" but it came up empty; Google searches were mostly irrelevant except for the Access 2.0 mention.

I suppose I could create my own library file with a customizable zoom box, add a reference to that, and use an AutoKeys macro to trap Shift-F2 to display my custom zoom box, but why reinvent the wheel if somebody else has already done that?

Bill Mitchell
Nov 22 '07 #3
MMcCarthy
14,534 Recognized Expert Moderator MVP
Hi Bill

It looks like the Utility.mda file is still present at least up to Access 2003.

I found this piece of code posted by Stephen Lebens on another site.

Set a Reference to the Utility.MDA, setup an AutoKeys Macro Group, with a Macro named "+{F2}", an Action of RunCode, a Function name of "MyZoom".

The function below requires error code/logic to handle when the AutoKeys Macro is called without a valid current Form and/or a valid current Control.

Add the following code to a standard Code module:

Expand|Select|Wrap|Line Numbers
  1. Public Function MyZoom()
  2.  
  3.     utility.zoom_iFontSize = 24
  4.  
  5.     Call Application.Run("UTILITY.BuilderZoom", _
  6.     Application.Screen.ActiveForm.Name, Application.Screen.ActiveControl.Name, _
  7.     Application.Screen.ActiveControl.Value)
  8.  
  9. End Function
  10.  
Mary
Dec 11 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
13218
by: BKM | last post by:
Is there a way that I can change the default font in VB6 so I don't have to constantly change the font of each new control that I add to my project?
55
4937
by: Haines Brown | last post by:
I've been setting font-size 1em; as the default in my style sheets. Until now, that seemed to be ok. But now I'm beginning to wonder. My aim is to have an easily readable, but not overly large text when the user uses the default font size in his browser and uses the typical display resolution. I did a reinstall of my friendly browser in...
54
6758
by: Brett Baisley | last post by:
Hello, I am trying to figure out how to change the default font-family and font-size. I tried adding this to the BODY section, but it didn't work. I tried to the P section, but they are not enclosed in <P> tags. They are just basic fonts. Can anyone help? Thanks!
27
3296
by: skeeterbug | last post by:
please see http://www.geocities.com/operationsengineer1/test.htm for an idea of how i want my logo header div to be layed out. when i went to resize "Test" to 2em (from 1em), this is what happened... http://www.geocities.com/operationsengineer1/test1.htm
2
15024
by: Woody Splawn | last post by:
When placing labels and text boxes on winforms they are coming up by default in a size that is just a little too small. How do I change this so that in the future they will come up with a bigger font size?
4
11090
by: Matt | last post by:
Another interesting issue: I set the default font on most of my forms to what I want the text in my controls to show up as (say, Verdana 9pt.), and then just change the font on labels and buttons when I lay them out (to Verdana 9pt. Bold, for example). This works for every control I have seen except the column headers on DataGridView...
3
4125
by: MLH | last post by:
Without modifying the default font settings everywhere, is there any way to specify it for just message boxes? MsgBox "I would like this text to be larger for all message boxes." ???
8
1792
by: Ronald S. Cook | last post by:
Is there a way I can change the default font size in my Windows project? Thanks
58
5710
by: Don Li | last post by:
I've tried <body style="font-family:Verdana,Arial,Helvetica;font-size:0.8em;"> or <body style="font-family:Verdana,Arial,Helvetica;font-size:11pct;"> or <body style="font-family:Verdana,Arial,Helvetica;font-size:80%;"> to no avail. In IE7 it shows up as Medium. What did I do wrong? Thanks.
0
7467
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7401
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7656
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7807
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7419
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7756
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5971
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
4944
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3450
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.