473,404 Members | 2,213 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Font.Bold

Is there a way to set textbox font to bold at runtime? Thanks.

Nov 16 '05 #1
1 12693
this.myTextBox.Font = new Font(this.myTextBox.Font, FontStyle.Bold);

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Wilfredo Perez | last post by:
I made a form and it also has a chekbox, when I check the box the font goes to bold which is good, but when I go to print it, but it comes out with the text not in bold
1
by: freddy | last post by:
I am new to c#. I would like to set the text in a combobox to bold if the user check off a radiobtn something like thi if radiobtn = true the combobox.font = new combobox.font.bol I know this is...
4
by: anthony | last post by:
hi, why can't i set the font of a button to bold at run time (it's read only), i can only set at design time. it can be done in vb6. thx
0
by: Altemir | last post by:
I have a datagrid in an .aspx page that contains some columns using the "Font=Bold" inline style. The problem is that some users' browsers aren't displaying the bold font while others are. We...
3
by: Lou | last post by:
Why is font bold a read only property. I create a new label control and want to set the font properties. How do I set the font properties of a newly created label control? lbl = New Label ...
2
by: Ben | last post by:
Hi I am having problems making a single node's Font Bold. objUserTree.Nodes.Item(i) I am looping though the items but with every property I try it fails. Thanks
2
by: Rick | last post by:
VS.2005 I inadvertently changed some setting and now all the toolbox controls that I drag onto a windows form are in font bold. Irratating! Can someone tell me the setting that controls...
1
by: yaksandcows | last post by:
I've just begun developing my first ASP .NET website using VWD2008 with VB. I am querying an SQL database to fill a gridview. If the text displayed in a gridview cell = a certain value contained...
0
nicebasic
by: nicebasic | last post by:
I'm trying to find a new feature for MSFlexGrid. As you know, we can change the BackColor of the Currently Selected Row(s) in MSFlexGrid at design time or at runtime. To change its BackColor at...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.