Hi All,
I am still using Access 2003. Some of the users of the database I creat are quite old. Have difficulty reading small fonts.
I use DoCmd.RunCommand acCmdZoomBox on double click events of text and memo fields for a zoom box to pop up.
My question is how I make the fonts bigger and bolder automatically instead of the standard size 8. The users have to click on the Fonts button and change to their requirements and they are annoyed!
Thanks in advance
Raghu from Melbourne
I'm so sorry,
That's what I get for reading and running... I thought you had a custom "zoom"
This works for Access 2010
The major thing is that reference to the utility library or you get an error 2040 - Private Sub z_ctrl_txtbx_filelocation_DblClick(Cancel As Integer)
-
On Error goto z_error_trap:
-
'You must have the: {tools}\{References}: [x]utility
-
utility.zoom_iFontSize = 24
-
utility.BuilderZoom Application.Screen.ActiveForm.Name, Application.Screen.ActiveControl.Name, _
-
Nz(Application.Screen.ActiveControl.value, "")
-
z_resume_from_error:
-
exit sub
-
z_error_trap:
-
If Err.Number = 2040 Then
-
MsgBox "Sorry, the automatic zoom isn't available right now. Please Press [F2] and adjust the font size by hand.", , "Missing Utility Reference"
-
Else
-
MsgBox "Error Number: " & Err.Number & vbCrLf & "Error Text: " & vbCrLf & Err.Description, vbCritical + vbOKOnly, "Terminal Error"
-
End Sub
- I have no idea where that library refernence is now that we've moved to Windows 7... I'll have to find the path.
6 6187 zmbd 5,501
Expert Mod 4TB
For each control of interest in the double click you can set Me.YourControlNameHere.FontSize = 15
On lost focus event set the font size back to 10 or 8 etc...
To the best of my knowledge, there is no way to programmatically adjust the Size of the Font within the Zoom Box. This is complicated by the fact that this is a Dialog Box. What you can do, however, is create your own Custom Zoom Box (Form with minimal Controls) which will accomplish what you have requested. You can even capture the SHIFT+F2 Keystrokes that by Default Open the Zoom Box, and Open your Custom Form.
zmbd 5,501
Expert Mod 4TB
I'm so sorry,
That's what I get for reading and running... I thought you had a custom "zoom"
This works for Access 2010
The major thing is that reference to the utility library or you get an error 2040 - Private Sub z_ctrl_txtbx_filelocation_DblClick(Cancel As Integer)
-
On Error goto z_error_trap:
-
'You must have the: {tools}\{References}: [x]utility
-
utility.zoom_iFontSize = 24
-
utility.BuilderZoom Application.Screen.ActiveForm.Name, Application.Screen.ActiveControl.Name, _
-
Nz(Application.Screen.ActiveControl.value, "")
-
z_resume_from_error:
-
exit sub
-
z_error_trap:
-
If Err.Number = 2040 Then
-
MsgBox "Sorry, the automatic zoom isn't available right now. Please Press [F2] and adjust the font size by hand.", , "Missing Utility Reference"
-
Else
-
MsgBox "Error Number: " & Err.Number & vbCrLf & "Error Text: " & vbCrLf & Err.Description, vbCritical + vbOKOnly, "Terminal Error"
-
End Sub
- I have no idea where that library refernence is now that we've moved to Windows 7... I'll have to find the path.
Thanks zmbd and ADezii will try and what I can do.
I once created a form which would popup with a big textbox, in which the font was chosen (and saved) per user. The intention was not exactly old people, but more to be used in meetings where the screen might be hard to see for some. If interested I can try to find for you during teh weekend.
Thanks very much. It would be much appreciated.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Salad |
last post by:
A97.
I have a command button to save and exit. I had the code
If Me.Dirty Then
Docmd.RunCommand acCmdSaveRecord
...more code
endif
I was getting an error because a value was not getting...
|
by: Mike MacSween |
last post by:
The user did this, she said. Changed a value in a drop down list (which will
have changed an integer value in a field in the main table which is a FK),
and edited some text in a text box. Then...
|
by: Squirrel |
last post by:
I have a command button on a subform to delete a record.
The only statement in the subroutine is:
DoCmd.RunCommand acCmdDeleteRecord
The subform's recordsource is "select * from tblVisit order...
|
by: deko |
last post by:
I'm trying to expand a popup form and make additional controls available by
making the form footer visible and resizing the form.
This works:
Me.FormFooter.Visible = Me!tglAdvanced.Value...
|
by: MLH |
last post by:
Running the following procedure, Access 97 is giving me a 2465 error
in line #250. Anyone know why? MySQL is a global var in the app. This
is running in frmVehicleChooserForm.
Private Sub...
|
by: Coolboy55 |
last post by:
Hi,
I'm using the Form_Dirty event to run DoCmd.RunCommand acCmdSaveRecord, but it does not appear to be working, although the event does trigger. I want the record on the main form to be saved...
|
by: Mague |
last post by:
Hello,
First of all thanks for trying to help. My problem is in vb.net 2008 (it's pritty much the same as 2005) when a vb program is maximized it just makes the background bigger and everything...
|
by: =?Utf-8?B?Qm9iQWNoZ2lsbA==?= |
last post by:
Is there a way to know if this is set to true on the Windows Time Zone tab?
|
by: Wayne |
last post by:
I've noticed a behaviour in A2007 that doesn't appear in A2003. The
problem is appearing in a native A2007 database and an A2003 database
running in A2007. If I press a command button to delete a...
|
by: iBasho |
last post by:
Hi,
I am trying to set up a notification email that would come to my email everytime users click on a command button in a form. I am using the DoCmd.SendObject command without actually sending any...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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...
|
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,...
|
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...
|
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...
|
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,...
| |