Hi,
i'm developing an editor in VS.NET using Rich Text Box
Control. I need to make a selected text Bold. how can i do
this? also i will have an Italic Button too. If i click
Bold button the selected text has to become bold, and if i
click italic button, the bolded text has to become Italic
too with the bolded attribute. how can i do this? help me..
thanks
imaya kumar 3 5528
Why not. RTB is MUCH faster with large lists, and it's MAXLENGTH is higher
too.
"Scott M." <s-***@BADSPAMsnet.net> wrote in message
news:#n*************@TK2MSFTNGP11.phx.gbl... You are using a "Rich TextBox" control? In a .NET application? While
you can use COM based ActiveX controls in a .NET application, I'd think twice about it. Why not just use the standard TextBox control, which supports rich text. All you would have to do is change the Bold property.
"Imaya Kumar" <im******@hotmail.com> wrote in message news:07****************************@phx.gbl... Hi, i'm developing an editor in VS.NET using Rich Text Box Control. I need to make a selected text Bold. how can i do this? also i will have an Italic Button too. If i click Bold button the selected text has to become bold, and if i click italic button, the bolded text has to become Italic too with the bolded attribute. how can i do this? help me.. thanks imaya kumar
Why not. RTB is MUCH faster with large lists, and it's MAXLENGTH is higher
too.
"Scott M." <s-***@BADSPAMsnet.net> wrote in message
news:#n*************@TK2MSFTNGP11.phx.gbl... You are using a "Rich TextBox" control? In a .NET application? While
you can use COM based ActiveX controls in a .NET application, I'd think twice about it. Why not just use the standard TextBox control, which supports rich text. All you would have to do is change the Bold property.
"Imaya Kumar" <im******@hotmail.com> wrote in message news:07****************************@phx.gbl... Hi, i'm developing an editor in VS.NET using Rich Text Box Control. I need to make a selected text Bold. how can i do this? also i will have an Italic Button too. If i click Bold button the selected text has to become bold, and if i click italic button, the bolded text has to become Italic too with the bolded attribute. how can i do this? help me.. thanks imaya kumar
You didn't mention that you needed this in your original post. While you
may gain these features with the RTB, there is a performance trade-off for
using COM objects in .NET applicaitons.
"dfsdf" <sd****@sdfsdff.dfs> wrote in message
news:FLAVa.8126$Oz4.1873@rwcrnsc54... Why not. RTB is MUCH faster with large lists, and it's MAXLENGTH is higher too.
"Scott M." <s-***@BADSPAMsnet.net> wrote in message news:#n*************@TK2MSFTNGP11.phx.gbl... You are using a "Rich TextBox" control? In a .NET application? While you can use COM based ActiveX controls in a .NET application, I'd think
twice about it. Why not just use the standard TextBox control, which supports rich text. All you would have to do is change the Bold property.
"Imaya Kumar" <im******@hotmail.com> wrote in message news:07****************************@phx.gbl... Hi, i'm developing an editor in VS.NET using Rich Text Box Control. I need to make a selected text Bold. how can i do this? also i will have an Italic Button too. If i click Bold button the selected text has to become bold, and if i click italic button, the bolded text has to become Italic too with the bolded attribute. how can i do this? help me.. thanks imaya kumar
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Imaya Kumar |
last post by:
Hi,
i'm developing an editor in VS.NET using Rich Text Box
Control. I need to make a selected text Bold. how can i do
this? also i will have an Italic Button too. If i click
Bold button the...
|
by: gooderthanyou |
last post by:
I have a textfield and you of course you can select text...
When they hit the bold button I want it to obtain the selected text and
bold it, the hard part is trying to figure out if javascript...
|
by: Radith Silva |
last post by:
I have the following code:
Private Sub Bold(ByVal sender As Object, ByVal e As System.EventArgs)
Handles mnuFileBold.Click
If mnuFileBold.Checked = True Then
mnuFileBold.Checked = False...
|
by: andreas |
last post by:
A selected text has fontstyles like bold and italic and underscore
I want to remove one of them without changing the other fontstyles.
How to do that?
Thanks for any response
|
by: bajajv |
last post by:
Hi,
I have a .doc file. It is in the below format
1. Question......
Ans.........
2. Question....
Ans.....
and so on.
Now, I want that I select the question line and make it bold.
I...
|
by: realin |
last post by:
hi guys,
I am trying to make a simple text editor for IE and firefox using javascript. I want to know how can i bold the selected text and otehr stuff like italics and all. cause in IE i was able...
|
by: cs_hart |
last post by:
I have an app that sends email to clients. There is now a requiremnt
to have one line in bold, as some clients seem to have overlooked some
instruction. Right now the body is just a bunch of...
|
by: =?Utf-8?B?bWlrZQ==?= |
last post by:
trying to convert selected text in a textbox to bold font.
can someone provide me code sample?
thanks.
|
by: suvarna1026 |
last post by:
Can any one tell me,how to change color of selected text.Color should be picked from colorPalette.I know only one thing that,as it is client side event,it can be done in javascript.I am using asp.net...
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
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...
|
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,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |