How to increase size of Font in Messages box?

M

Mustaq

Hi

How to increase size of Font in Messages box in MS Access 2002 or 2003

Regards,
Mustaq
 
R

Rick Brandt

Mustaq said:
Hi

How to increase size of Font in Messages box in MS Access 2002 or 2003

Regards,
Mustaq

That is controlled by Windows, not Access. You would have to create your own
form to use in place of a Message Box.
 
F

fredg

Hi

How to increase size of Font in Messages box in MS Access 2002 or 2003

Regards,
Mustaq

Only if you change the master settings for the message box for all
Windows and Office Application.
Right- lick on a blank section of the Windows Desktop.
Select Properties +Appearance + Advanced.
Find the Message Box in the drop down.
Selelct the font size you wish.
All Windows/Office message boxes will be affected.

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.

Code the cmdYes button's click event:
TextControlName = 1
Me.Visible = False

Code the cmdNo click event:
TextControlName = 2
Me.Visible = False

You would then open the form, using:

Dim strMessage as String
strMessage = "This is your message"
DoCmd.OpenForm "MessageFormName", , , , , acDialog, strMessage

If forms!MessageFormName!TextControlName = 1 then
' Do the Yes thing
Else
'Do the No thing
End If

DoCmd.Close acForm,"MessageFormName"

Code the Load event of the message box form:
LabelName.Caption = Me.OpenArgs

When the form is opened processing waits (just like a MsgBox) until
you click either command button. Then the Yes or No action will be
taken and the form closed.
 
Top