PC Review


Reply
Thread Tools Rate Thread

Bold text in a messagebox

 
 
Robert Bravery
Guest
Posts: n/a
 
      22nd Jul 2006
Hi all,

Can I make part of a text bold in a messagebox

Thanks
Robert


 
Reply With Quote
 
 
 
 
Nicholas Paldino [.NET/C# MVP]
Guest
Posts: n/a
 
      22nd Jul 2006
Robert,

Unless you custom paint it, you can't. The textbox only supports one
font family for all of the text.

You would have to use a RichTextBox to do this.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (E-Mail Removed)

"Robert Bravery" <(E-Mail Removed)> wrote in message
news:%23l$(E-Mail Removed)...
> Hi all,
>
> Can I make part of a text bold in a messagebox
>
> Thanks
> Robert
>
>



 
Reply With Quote
 
Robert Bravery
Guest
Posts: n/a
 
      22nd Jul 2006
Thanks
Robert

"Nicholas Paldino [.NET/C# MVP]" <(E-Mail Removed)> wrote in
message news:%(E-Mail Removed)...
> Robert,
>
> Unless you custom paint it, you can't. The textbox only supports one
> font family for all of the text.
>
> You would have to use a RichTextBox to do this.
>
> Hope this helps.
>
>
> --
> - Nicholas Paldino [.NET/C# MVP]
> - (E-Mail Removed)
>
> "Robert Bravery" <(E-Mail Removed)> wrote in message
> news:%23l$(E-Mail Removed)...
> > Hi all,
> >
> > Can I make part of a text bold in a messagebox
> >
> > Thanks
> > Robert
> >
> >

>
>



 
Reply With Quote
 
Michael Nemtsev
Guest
Posts: n/a
 
      22nd Jul 2006
Hello Robert,

See sample there http://www.codeproject.com/cs/miscct...BoxManager.asp

RB> Thanks
RB> Robert
RB> "Nicholas Paldino [.NET/C# MVP]" <(E-Mail Removed)>
RB> wrote in message news:%(E-Mail Removed)...
RB>
>> Robert,
>>
>> Unless you custom paint it, you can't. The textbox only supports one
>> font family for all of the text.
>>
>> You would have to use a RichTextBox to do this.
>>
>> Hope this helps.
>>
>> --
>> - Nicholas Paldino [.NET/C# MVP]
>> - (E-Mail Removed)
>> "Robert Bravery" <(E-Mail Removed)> wrote in message
>> news:%23l$(E-Mail Removed)...
>>> Hi all,
>>>
>>> Can I make part of a text bold in a messagebox
>>>
>>> Thanks
>>> Robert

---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
TOC heading 1 text bold, dot leaders and page number NOT bold Donna Microsoft Word Document Management 4 21st Nov 2008 03:39 PM
Why when I bold some text does Word 2003 bold all text? Fix? =?Utf-8?B?TWV0cmljbWFu?= Microsoft Word Document Management 1 3rd Jun 2005 04:23 PM
How to use Bold and non bold text in a single textbox in office 20 =?Utf-8?B?SGFyb29u?= Microsoft Access VBA Modules 3 28th Jan 2005 03:39 PM
How to use Bold and non bold text in a single textbox in office 20 =?Utf-8?B?Sm9l?= Microsoft Access Reports 1 28th Jan 2005 03:26 PM
can I make bold text appear in a messagebox ? TM Microsoft VB .NET 3 17th Dec 2003 10:21 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:00 PM.