making text bold in message boxes

  • Thread starter Thread starter andy mac
  • Start date Start date
A

andy mac

Guest
how do you make the text in a custom message box bold? I just want the first line to be in bold & the rest normal.
 
As far as I know, you can't change the settings for the Common Dialog Boxes. You'll have to create your own popup form.

You could create a form with a two labels on it and a command button(ok). When you need the box, open up the form, set the first label to bold and put your first sentence. Set the second label to the rest of your info. You can then process items after the OK button is pressed. Hope this helps.

Doug
 
check this statement:

MsgBox "Wrong button!@This button doesn't work.@Try another.", _
vbOKOnly + vbExclamation

it will print the first line in bold!!!
 
joeyreyma,

that is slick! gonna break one of my own rules here.

with access, i almost never ask 'why' something strange works...

but, why does this work?
smile.gif


al

never mind! found it in Help...didn't know this existed.



[This message has been edited by pcs (edited 08-22-2001).]
 
This method does not work in Access 2000 or Access 2002 when using VBA. The only way to do this in the 2 newer versions is by using a macro.

Just a thought,
RDH
 

Users who are viewing this thread

Back
Top Bottom