|
Hi, is there any way to make a part of a label.text Bold?
label.text = "asd" + string;
string should be bold :)
Started by Phil on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
The normal way would is that i use pipe '|' in a string to tell on paint... .
In ASP.NET you could do:
label.Text = string.Format("asd <span style='font-weight: bold could make one bold, and it will look ok with a proper positioning.
|
|
I have a button on an MFC dialog. How can I make the text bold?
Started by Aidan Ryan on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Is a class variable of type CFont m_font.CreateFont(10, 0, 0, 0, FW_BOLD, 0, 0, 0, 0, 0, 0, 0, 0(); LOGFONT logFont; font->GetLogFont(&logFont); logFont.lfWeight = FW_BOLD; m.
|
|
I want to show some bold and some simple word within the same sentence.If I use the textbox then every word will be simple, not some bold and some simple so I want a control's text property in that I can write some bold and some simple word within the...
Started by Harikrishna on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Is this for Web or Desktop? With desktop you want to use the RichTextControl on the web I am not sure you can do it in a textbox, but you can use HTML and the label control to produce the same effect... .
Sounds like a RichTextBox is what you're looking for.
|
Ask your Facebook Friends
|
How to draw bold/italic text with PIL? ImageFont.truetype(file, size) has an option to specify font size only.
Started by jack on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Use the bold/italic version of the font.
Many fonts use different TTF files for their bold/italic versions, so I'd imagine if you just specify that file it would work.
|
|
Possible Duplicate:
What’s the difference between <b> and <strong>, <i> and <em>?
Duplicate of
What's the difference between <b> and <strong> , <i> and <em> What’s the difference between <b> and <...
Started by jitendra on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
They're formatting The <strong></strong> tags say that the contents are, semantically, to stand out The <span class="bold">< is rendered, be it bold, italics, or....
B></b> tags say to make the text bold.
|
|
Hi,
How to show the text in bold in messagebox.show for c#?
Any suggestions?
Thanks, Karthick
Started by Karthick on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Font to Bold add handler to both buttons, closing the form and setting some property for which = Font.FromHfont(hFont); // And make it bold (note the size change to keep enough space!!) mFont = new Font the font bold, the text must....
|
|
I am dynamically adding labels to a form and I would like to set some of them to be bold. I can;t seem to find an easy way to make a label bold in ActionScript. It is very easy to do in MXML. I would think that it would simply be an attribute that is ...
Started by rmh15 on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
The easiest way I would do it would be using .
MyLabel.setStyle("fontWeight", "bold");
Hmm...
|
|
Is it possible to create bold text in a MySQL database text table field?
We are putting our articles in our database and I want to create bold titles and subtitles. Is this possible? Thanks
Started by roacha on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
bold-text would be stored like this:
**I am bold**
Storing HTML If you can't use markdown on your bold</strong>
Late-Styling Or make all values from the title and subtitle fields bold when you should be done after getting the....
|
|
Hi, is possible to turn header text bold when I select a cell of its column? How to do it?
Thanks Leandro
Started by Leandro on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
JTable table = new JTable.
If current column is selected column set font to bold.
To make your text bold you can use HTML - something into table header.
Column model state - column widths and sequence.
|
|
For example, I have the HTML...
<span class="userscontentname">Test</span> <span class="userscontentname">Testman</span>
then I have the jQuery...
if ($("#userlist_"+search_id+" > span.userscontentname:contains("+search_text...
Started by Chris on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
The CSS to
.highlight { font-wight: bold; }
$("#userlist_"+search_id+" > span.userscontentname", "bold"); } });.
|