Link to home
Start Free TrialLog in
Avatar of pmcelhany
pmcelhany

asked on

Format a messagebox

How do I change the format of the text of my messagebox?  Can I change the font size and make it bold?  What does the code look like to do this?
Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Emanon_Consulting
Emanon_Consulting

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rockiroads
The approach to take is what Emanon_Consulting has said

you will have to create your own form if you want to format text within a textbox

as with any form, you can pass it with arguments so that you can have different text appearing each time you call it.
If you do that, it would be better to create a module say MyMessageBox which takes in a string (plus other parameters if you wish to), this module would then call the form. If later on you decide to change this, you simply need to modify thje module MyMessageBox

the only tailoring you can do with a message box is the buttons, you can add in optional graphics with a choice of buttons
Avatar of pmcelhany
pmcelhany

ASKER

Thanks for the help.  At least now I can tell the user to try something else.