Message box colors

F

fredg

How can I change the background colors or fonts in a Access message box?

You can only change the Message Box colors and fonts globally, i.e.
for ALL programs.
Right-Click on the Windows Desktop.
Select Properties + Settings
Select your color scheme.
Then click on Advanced.
Find the Message Box in the drop down and change the font to whatever
you want.

This will affect all programs, not just Access.

I would suggest that rather than change the settings for all
applications, you create your own, unbound form to be used as a
message form.
Add a Label control and a Text control as well as 2 command buttons.
Name them cmdYes and cmdNo

You can set the font style, size, color, etc., however you wish.

You would then set the message using code.

The form would be opened using:
DoCmd.OpenForm "MessageForm", , , , , acDialog

Additional controls, command buttons, etc., on the form would be
dependent upon what you are doing.
 

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