message box font size

scjohn

Registered User.
Local time
Tomorrow, 00:50
Joined
Nov 3, 2004
Messages
31
hello, not sure if this can be done. Is it possible to change the font in a MsgBox. Some people who work with my db have a hard time reading the Msgboxs.

Thank

John
 
John,

I've seen people do some interesting with Message Boxes (and Input Boxes),
but if you really want to have them look nice just make your own message
box form and pass it your message, fonts, etc.

Wayne
 
About the only thing you can do with the text is you can bold the top line [section] of your message box using the EVAL function and the @ symbol. Ensure you keep the single quotes and @ exactly like my example. This will work for all versions of Access.

If (Eval("MsgBox ('Your Bold Text Here.@Your Normal Text Here.@@',20,' Your Title Here')")) = vbYes Then
MsgBox "user clicked YES"
Else
MsgBox "user clicked NO"
End If

You will have to play with the aurgument numbers [20] if you need a different symbol and/or buttons.

HTH
 
Unfortunately, message boxes are generated by a call to a system routine, not an Access-exclusive routine. This is a Windows setting, not an Access setting. But the thing is, these folks should ALSO have trouble reading icons and file names and such. Same type face and font size are used for both.

Look at the Windows "Accessibility" settings (if you have such a thing) on your workstation Control Panel. Even on a system with tight security, the Accessibility settings should be accessible. If not, you might even have a disability harassment complaint on your hands.
 

Users who are viewing this thread

Back
Top Bottom