Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Msgbox formating

Status
Not open for further replies.

RemyS

Technical User
Jul 3, 2001
100
GB
I just wanted to know if it is possible to format text within a message box (i.e. Bold, colour, size)
I have seen Access Messages with Bold text before, which prompted my curiosity.

Otherwise I see the only alternative is another form, in which case; Where can I find the graphics for vbExclamation, vbInformation and vbCritical?

I hope someones come accross this before.
Thanks
Remy Hundreds of ways to do things with VB, and learning new ways every day.
 
I don't know about colour, but you can split a messagebox message into three parts, delimited by the '@' symbol, the first part of which is bold, e.g:

msg="Part in bold@Not bold@Not bold"

If you use the '@' symbol, you have to include them all, even if some parts have no message, e.g:

msg="Part in bold@Not bold@" Have fun! :eek:)

Alex Middleton
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top