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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is it possible to change the MsgBox font size to something larger?

Status
Not open for further replies.

adi316

Programmer
Sep 10, 2002
35
CA
also can i change the font itself and what is the newline char for the msgbox text
 
As far I as I know the font cannot be changed with the standard message box, however there are alternatives out there!

As for new line vbNewline works for me!

Matt
 
No you can't change the standard message box, but you don't have to use it. You can create your own form to display whatever you want or you can search for alternative "message boxes" that other programmers have posted. Thanks and Good Luck!

zemp
 
Well, yes it can...but it's not particularly straightforward. It has been covered several times in this forum. Just do a keyword search on MsgBox and Font
 

Do a search on:
MSGBOXTEXT
and it will take you to two examples.

Note: these examples do more than just change the font, so you will need to change as needed - be careful though, if you do the wrong thing the program will crash with-out a chirp, so use a test project first. Dump the TimerProc into a seperate Module and keep the code away from everything else you write. [/b][/i][/u]*******************************************************
General remarks:
If this post contains any suggestions for the use or distribution of code, components or files of any sort, it is still your responsibility to assure that you have the proper license and distribution rights to do so!
 
having done a search as suggested:
Its true - you can do it!
[bold]...but it's not particularly straightforward[/bold]
 
yeah its much harder to use then the standard msgbox

thanks for the support!
 
>its much harder to use then the standard msgbox
The API message box function is not that hard to use...just if you want to change the fonts, etc., which cannot be done with the standard msgbox either.
Other wise, just remove all the other code. [/b][/i][/u]*******************************************************
General remarks:
If this post contains any suggestions for the use or distribution of code, components or files of any sort, it is still your responsibility to assure that you have the proper license and distribution rights to do so!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top