|
by: vanvee |
last post by:
Hi
I have a user control that contains a RichTextBox in vb.net. In my
program, I create multiple instances of this control (with the
RichTextBox being in each one), that appear one above the other on a
panel. The problem is that each control may have varying amounts of
data, and so each RichTextBox (within each control) needs to size to
fit the amount of text within that RichTextBox. I've tried
multiplying the size of a single line...
|
by: Nathan Carroll |
last post by:
In an mdi environment I constructed a child for with a richtextbox control
that is used to load .rtf's. This works fine on the intiatial load of the
form but when for is closed and reopened later I get:
System.ObjectDisposedException: Cannot access a disposed object named
"RichTextBox".
Object name: "RichTextBox".
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.TextBoxBase.CreateHandle()
at...
|
by: Grant Schenck |
last post by:
I have code where I append text to a rich text box. I grab the current
SelectionStart and SelectionLength before I append the text and then after I
reset the SelectionStart and SelectionLength to their former values. I then
do a ScrollToCaret() to insure that the selection still shows on the screen
(because the append text moves it.)
Now, it all works but I get a noticible flash as I append the text and
apparently the control updates....
|
by: Neo Chou |
last post by:
Greetings!
I'm trying to make my ASPX page able to process WORD format document. I
learned that RichTextBox might help me, but I can't use it either by adding
it to my Web Control list or by writing "<asp:RichTextBox id="c1" />" in the
ASPX file. The error message shows "Cannot find RichTextBox in the
namespace of web controls" (something like that). Is there any way to add
RichTextBox in ASPX file? Or where can I find a substitute?...
|
by: tulasi |
last post by:
I am placing textbox controls and combo box controls on richtext box and 2
command buttons on form control.
after executing the application i'll place some text into textbox controls
and select a value from combo box after entering of all the details i'll
click on one of the command buttons then it will save the contents of the
controls which i placed on the richtextbox into a file then i'll click on
another command button so it will...
|
|
by: James Wong |
last post by:
Hi,
I use the RichTextBox in my program.
It will use different language in this RichTextBox (chinese and english
characters), and it set the "DualFont" and use different fonts.
By the way, how can I print out this content to printer easily?
Thanks!
James
|
by: michael sorens |
last post by:
The documentation for the RichTextBox is sketchy at best. I want to do a
very simple task but I cannot find information on this. I am using a
RichTextBox as an output window. Some text I want to just add plain (e.g..
rtf.Text += "new stuff..."; ) but some text, when added, I want to be in a
different color or font size. Find() will not work because the text will
vary. I have delimiters on it so I could recognize it with a regular ...
|
by: philaphan80 |
last post by:
Is there a way to force the Visual Studio IDE (Page Control at design-
time) to refresh / repaint itself upon drag & drop of *any* item from
the toolbox? Perhaps a method I need to override within the page
control?
I'm aware of using
"ComponentModel.RefreshProperties(RefreshProperties.All)" within
custom controls, but that only refreshes the page when something
specific to that custom control is changed. I'm looking for a way to
hook...
|
by: =?Utf-8?B?UmF5IE1pdGNoZWxs?= |
last post by:
Hello,
I have a multiline RichTextBox that I use for data logging. I'm concerned
about how the AppendText method reacts when over time the maximum number of
characters have been added. Do the oldest characters it contains start
rolling off the top into the bit bucket, does it simply start silently
ignoring appends until some characters, are deleted, or does some kind of
exception get thrown? I've heard numerous opinions on what the...
|
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: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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: 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: 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.
|