Font Size in Message Boxes

G

Guest

I'd like to make the font size in my message boxes
several points larger than they currently are.
Is there a way to do this? Is it a property of the
Application object that I have to modify?

Thanks,

Jonathan Mulder
Red Bluff, CA
 
F

fredg

I'd like to make the font size in my message boxes
several points larger than they currently are.
Is there a way to do this? Is it a property of the
Application object that I have to modify?

Thanks,

Jonathan Mulder
Red Bluff, CA

The size of the font for the message box can only be changed from the
windows desktop, and will change the message box for all applications.

Right-click on an empty area of the desktop.
Select Properties + Appearance + Advanced.
Find the MsgBox in the drop down and change the font size as needed.

A better solution might be to create your own unbound form and use
that to display your message. You can lay it out as you wish.
You would open the form using:

Dim strMessage as string
strMessage = "This is the message"
DoCmd.OpenForm "MessageForm", , , , , acDialog,strMessage

Code the Load event of the message form:
If Not IsNull(Me.OpenArgs) Then
MyLabel.Caption = Me.OpenArgs
End If
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top