Re: multi-line text box

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



CJ,

Be aware that there was a bug in the multiline textbox and that the ammount
of data that a textbox can hold (was)is very limmited. I don't know if that
bug is fixed.

Cor

"cj" <cj@xxxxxxxxxxxxx> schreef in bericht
news:O1lA9uOXHHA.3652@xxxxxxxxxxxxxxxxxxxxxxx
No danger of that.

Stephany Young wrote:
Another point.

You must be mindful of how much text you are appending over the course of
a program run.

If you keep appending text ad infintum then sooner or later it will blow
up because the resource limit will be reached. There is no specific
number for this.

If there is a danger of this then you need to have a method for cleaning
some of the older stuff out to make way for the new stuff.


"cj" <cj@xxxxxxxxxxxxx> wrote in message
news:OYO$YbEXHHA.2256@xxxxxxxxxxxxxxxxxxxxxxx
Exxxcellent. I didn't know that method existed.

Kerry Moorman wrote:
cj,

Try adding the text using the textbox's AppendText method.

Kerry Moorman


"cj" wrote:

I use multi-line text boxes with vertical scroll bars in several of my
programs to display log information as the programs run. Once the
text more than fills the visible portion of the textbox I would like
the text box to show the bottom of the text in it. Right now even if
I scroll down in the text box to see what's the latest activity when
new text is added the textbox resets itself to show only the top text
and I have to scroll down again. Can I fix it so as text is added it
continues to display the last, bottom most, text?




.



Relevant Pages

  • Re: Problem optaining focus when calling select in UserControl
    ... > that this is a bug, which I'm not quite sure of, then you can file a bug ... >> UserControl in the GotFocus-event of a TextBox. ... >>> The Control class uses a selection scheme which tries to find the ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Problem optaining focus when calling select in UserControl
    ... > that this is a bug, which I'm not quite sure of, then you can file a bug ... >> UserControl in the GotFocus-event of a TextBox. ... >>> The Control class uses a selection scheme which tries to find the ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Scrollbars in Text Box
    ... There is a bug where if you have the TextBox Margin props at any value ... But there is no scroll bar. ... But maybe I am missing something. ...
    (microsoft.public.access.forms)
  • Re: Problem optaining focus when calling select in UserControl
    ... that this is a bug, which I'm not quite sure of, then you can file a bug ... > UserControl in the GotFocus-event of a TextBox. ... > So what happens is quite strange: As expected the UserControl gets Enter, ... >> The Control class uses a selection scheme which tries to find the ...
    (microsoft.public.dotnet.framework.windowsforms)
  • scrollable log window that needs to scroll with the new text
    ... Hi I'm trying to create a log window that keeps the user informed with misc ... This works ok, but after the textbox fills and the scrollbars are presented, ... manually scroll every time new text is appended to the textbox. ... because I have text appending every second or so. ...
    (microsoft.public.dotnet.languages.vb)