Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Message box colors

50 views
Skip to first unread message

fredg

unread,
Aug 26, 2005, 12:26:02 AM8/26/05
to
On Thu, 25 Aug 2005 20:27:07 -0700, psycojoe wrote:

> 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.

--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.

0 new messages