May 09, 2024, 06:57:22 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Help with Messagebox

Started by billhsln, March 21, 2008, 11:24:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

billhsln

I want to display a Messagebox using font "Courier New".  I need to have it display a fixed pitch font so what I want to display lines up.

What do I need to do?  I have tried:  SETFONT w1,"Courier New",10,400  and SETFONT w1,"Courier New",10,400,0
neither seems to give me the result I want.

Thanks,
Bill
When all else fails, get a bigger hammer.

Ionic Wind Support Team

Bill, if you are referring to the built in MessageBox command then you can't change the font for it, the OS uses the font chosen in the users profile.

If you are talking about a custom built dialog then you would set the font of the static control you're using to display the text.

Paul.
Ionic Wind Support Team

billhsln

That is what I needed to know.  I am using Messagebox.  Will create a Dialog.  I want it to align correctly.

Thanks,
Bill
When all else fails, get a bigger hammer.