|
by: Jesper, Denmark |
last post by:
Hi
Drop a RichTextBox (rtb) on a form, anchor it to the edges or dock it to fill the entire form - whatever you choose the rtb control works fine and updates its scrollbars according to the new sizes. Now, instead of dropping it on a form, drop it on a panel with dock-property set to fill, ancor the rtb to the panel or let it fill out the panel. Now the vertical scrollbar doesn't behave as one would expect when the panelsize is changes, only...
|
by: Ludovic SOEUR |
last post by:
Suppose I have a .Net C# Winforms App with a RichTextBox control and I want
to provide an option for the user
to open the Rtf in Word, edit it in Word and get the edited value back to my
C# app dynamically (not with an external file).
Where should I start? Is there a document explaining this?
I read msdn but I did not see exactly what I am looking for
thanks,
|
by: mthgk |
last post by:
I have a C# MDI app. The child forms do alot of work, so this work is
perfomed on a different thread created using ThreadPool.QueueUserWorkItem().
Because the status of the work is important to the user, I post the results
in a richTextBox on the child form. I have created an event to do this since
it is best to update the controls using the thread that they were created
with (or so I've read).
Anyway, the first time the user selects a...
|
by: Rachel Suddeth |
last post by:
I want to react to scrolls in a RichTextBox (I want to let the user know
when he has changed to a new printable page.) I have handled the VScroll()
event, but that only responds to scrollbar clicks. If the user slides the
"thumb", I seem to get no indication. Anyone know how to get notified of the
thumb slide from a RichTextBox? I can derive from RichTextBox and trap
messages if need be, but I have not been able to figure out what to...
|
by: Mark Denardo |
last post by:
Hi, I'm trying to record the text value of a RichTextBox after handling a
KeyPressEvent (each time the user types a char). But what I'm seeing is
that the value of rtb.Text is equal to the value of the contents of the
RichTextBox prior to the event being triggered.
For Example, here's the code:
Sub x
...
AddHandler rtb.KeyPress, AddressOf CellEvent_KeyPress
|
|
by: John Broderick |
last post by:
I've got a problem with the RichTextBox control in .Net
where the garbage collector doesn't reclaim its memory
after I've finished with it.
My program adds a series of rtb's to the control array of a
panel to make a basic text editor. When the form that the
panel is on is closed these rtb's are still in memory.
If you want to see the probelm try this:
create a form which has a panel on it. Create a class,
|
by: Paul |
last post by:
Hi,
My VB is very rusty I'm afraid! What would be the most efficient way to
remove the following ASCII characters from a string?
à è ì ò ù À È Ì Ò Ù
á é í ó ú ý Á É Í Ó Ú Ý
â ê î ô û Â Ê Î Ô Û
ã ñ õ Ã Ñ Õ
ä ë ï ö ü ÿ Ä Ë Ï Ö Ü Y o O æ Æ
|
by: lizii |
last post by:
At the moment i am trying to write into a richtextbox using the Rtf
call from another richtextbox.
However realising that richtextbox do not have multithreading - i know
i need to invoke this item and make it multithreaded safe. But i
cannot find a single good example of how to do this. The richtextbox
i am trying to update is on one form - the richtextbox which has the
information to update it with is on another. I understand that i...
|
by: =?Utf-8?B?TWFyayBDb2xsYXJk?= |
last post by:
I'm currently writing an application that has a RichTextBox and a toolbar
which includes the following toolbar buttons:
- Font
- Font Size
- Bold
- Italic
- Underline
I want the toolbox buttons to act the same as the ones in Word. i.e. When
you select text that has different Fonts the Font toolbar button (combo box)
|
by: Tom |
last post by:
Inserting text into a RichTextBox is a snap! >>
textBox1.Text += "Enter string 0000\n";
textBox1.Text += "Enter string 0001\n";
textBox1.Text += "Enter string 0002\n";
textBox1.Text += "Enter string 0003\n";
How do I then go back and programmatically remove let's say line #2?
As amazingly simple as this sounds ... I am equally dumbfounded by not
|
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: 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: 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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|