|
by: CNU |
last post by:
Hi,
I have a richtextbox control that displays some xml data
either by loading from a file or by copy-paste in
plaintext format. So, it is displayed without any
formatting or indentation. Now, I want to display it in a
more readable fashion. So, I want to provide an option
like "Format Whole Document" (like the one in VS .NET).
Is there any way to do this?
Regards.
|
by: Juan |
last post by:
I`m inserting strings in a rich text control using the AppendText method, I
would like to change certain parts of the string so, for example, a certain
word appears bold and red when inserted. Is it possible using this control?
Thanks,
Juan.
|
by: Du |
last post by:
I want to format the text within my richtextbox. However I have large
amount of text to change, simply using richtextbox.select and format is not
pratical.
How do I change text format using control characters (ie rtf format string)
???
I only need a few formating string; font-weight, font-size, color, and font
face
|
by: D Steward |
last post by:
I can't seem to add a newline (/n) to get a richtextbox control to display text on successive lines. The text that I type is overwritten. How do I remedy this
My example
richTextBox->Multiline = true
richTextBox->Text = S"First line /n"
richTextBox->Text = S"Second line"
Thanks
|
by: Noozer |
last post by:
I have the following Subs defined to place text into a richtextbox with a
specific font and colour, depending on context. Occasionally, the font just
doesn't get applied and the text appears in the default style and not the
one I've defined in the variables...
'Send incoming text to the display.
Private Sub DisplayIn(ByVal text As String)
rtbDisplay.SelectionColor = uInColor
rtbDisplay.SelectionFont = uInStyle...
|
|
by: AWesner |
last post by:
For readability sake I’m going to first state that:
LF = Line Feed CHR(10)
CR = Carriage Return CHR(13)
Since Rich Text Format is a standard formalized by Microsoft Corporation I
get to ask them why they decided that RTF format needed to start writing LF
instead of the CRLF that you see in implemented in non formatted text such as
seen via notepad. Nor can I find any history on why the decision was made.
Was it forgotten and just left...
|
by: garyusenet |
last post by:
Hi i have a messagebox like so.
MessageBox.Show(mystring);
I would like to highlight each occurance of the word "and" in the
messagebox. How do I tell the messagebox to highlight each occurance of
the word and, in the string mystring that it is displaying?
Thanks,
|
by: Rasko |
last post by:
when i try to insert kind of text to my richtextbox from web (copy/paste) i can do it but after i wanted to update i can't do it . there is an errormessage appears (Input string was not in a correct format.).
Dim urun As String = Replace(TBox4.Text, "'", """")
d.CommandText = String.Format("update etic_urunler set etic_urun ='" & urun & "' where id=1")
|
by: Tom |
last post by:
Hi all,
I am looking for a smart way to assure a file is indeed a text file
within a C# method and not binary.
For example: Will "thisMysteryFile.dat" be legible if opened in a
RichTextBox ... or is it a binary file?
I have searched various methods in the string class and am having no
luck.
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|