Hi group,
i'm setting a (long) string in my textbox
textBox1.Text += s + Environment.NewLine;
but if the text is longuer than the visible capacity of the textbox, I
can't see the end of my text (that is the most important), even if the
scrollbar is set.
I would like to see automatically the end of the textbox
how can i do ?
thanks for your answer
N. 4 4454
Will the WordWrap porperty be useful? ti*********@gmail.com 写道:
Hi group,
i'm setting a (long) string in my textbox
textBox1.Text += s + Environment.NewLine;
but if the text is longuer than the visible capacity of the textbox, I
can't see the end of my text (that is the most important), even if the
scrollbar is set.
I would like to see automatically the end of the textbox
how can i do ?
thanks for your answer
N.
Will the WordWrap property be useful?
And don't forget the ScrollBars.Vertical property.
Hope that this will help. ti*********@gmail.com 写道:
Hi group,
i'm setting a (long) string in my textbox
textBox1.Text += s + Environment.NewLine;
but if the text is longuer than the visible capacity of the textbox, I
can't see the end of my text (that is the most important), even if the
scrollbar is set.
I would like to see automatically the end of the textbox
how can i do ?
thanks for your answer
N.
Hi N,
You can set the caret position by setting the TextBox.SelectionStart property. To set the caret to the end of the text use
textBox1.SelectionStart = textBox1.TextLength;
textBox1.ScrollToCaret();
On Fri, 06 Apr 2007 14:54:55 +0200, <ti*********@gmail.comwrote:
Hi group,
i'm setting a (long) string in my textbox
textBox1.Text += s + Environment.NewLine;
but if the text is longuer than the visible capacity of the textbox, I
can't see the end of my text (that is the most important), even if the
scrollbar is set.
I would like to see automatically the end of the textbox
how can i do ?
thanks for your answer
N.
--
Happy coding!
Morten Wennevik [C# MVP]
On 6 avr, 15:24, "Morten Wennevik [C# MVP]"
<MortenWenne...@hotmail.comwrote:
Hi N,
You can set the caret position by setting the TextBox.SelectionStart property. To set the caret to the end of the text use
textBox1.SelectionStart = textBox1.TextLength;
textBox1.ScrollToCaret();
On Fri, 06 Apr 2007 14:54:55 +0200, <timor.su...@gmail.comwrote:
Hi group,
i'm setting a (long) string in my textbox
textBox1.Text += s + Environment.NewLine;
but if the text is longuer than the visible capacity of the textbox, I
can't see the end of my text (that is the most important), even if the
scrollbar is set.
I would like to see automatically the end of the textbox
how can i do ?
thanks for your answer
N.
--
Happy coding!
Morten Wennevik [C# MVP]- Masquer le texte des messages prcdents -
- Afficher le texte des messages prcdents -
Thanks Morten,
this solves my problem
Best regards,
N. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Emil Dotchevski |
last post by:
I have a table that is at 100% width, which contains a <TD> that is
80% of that. In the <TD> I want to put pre-formatted text (the output
from a C++ compiler, to be more precise) and I'd like the...
|
by: netsurfer |
last post by:
Hi I have a question regarding making scrolling text appear at the
bottom a website page...(I mean below the actual body of the
webpage...which I believe is refered to as the status bar?)
I...
|
by: Jesper |
last post by:
Hi,
Is it possible to scroll a RichTextBox programmatically to a given text
selection in it, such that the selected text becomes viewable.
regards.
Jesper.
|
by: Will Gillen |
last post by:
I need to have a "scrolling" text label or textbox at the bottom of my
window to show the URL of where a song is being played from. I want the
text to scroll on a single line from left to right in...
|
by: gbayo1 |
last post by:
Hi, I was just wondering would anybody be able to show us how to use a button, that when pressed, automatically scrolls a JSlider across say from 0 - 100 at a certain speed or whatever.
If anyone...
|
by: jadeite100 |
last post by:
Hi:
I have an pop-up window with an Iframe that has a text box with scrolldown. The scrolldown in the popup-window does not work but the scroll-down for the iFrame works.
The strange thing is I...
|
by: Bishman |
last post by:
Hi,
I have been trying to get text to scroll smoothly accross a windows form
using GDI+ and a timer. Changing the position of the text by a configurable
amount and calling invalidate to force a...
|
by: reedpgh |
last post by:
I have a wordpress theme I customized. View this link in Internet Explorer: http://krobarultralounge.com/
See the images won't scroll in I.E. but the text does ... img's and text do scroll in...
|
by: =?Utf-8?B?UGhpbCBKb2huc29u?= |
last post by:
Hi
I am pretty new to asp.net gridviews.
I need to get the text in one column to scroll, I have little screen space
and one column is normally empty, but is sometimes quite long.
Has...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
| |