Board index » Visual Studio » Display text

Display text

Visual Studio26
Is there an existing control for Visual Basic that allows

me to display text in that control, but also lets me append

text to it. The application I have in mind for this

control is something like a status page that updates with

new information without wiping out the previous info.

Thank you.


-
 

Re:Display text

Just use a text box, and add to the text instead of just setting the text.



ie, do

textbox1.text += foo

instead of

textbox1.text = foo



Josh Moody

VSU Team



--



This posting is provided "AS IS" with no warranties, and confers no rights.

Use of included script samples are subject to the terms specified at

www.microsoft.com/info/cpyright.htm">www.microsoft.com/info/cpyright.htm



Note: For the benefit of the community-at-large, all responses to this

message are best directed to the newsgroup/thread from which they

originated.

--------------------

Quote
Content-Class: urn:content-classes:message

From: "Troy Wilson" <tkw829@hotmail.com>

Sender: "Troy Wilson" <tkw829@hotmail.com>

Subject: Display text

Date: Fri, 21 Nov 2003 13:51:07 -0800

Lines: 6

Message-ID: <02da01c3b079$91817e20$a401280a@phx.gbl>

MIME-Version: 1.0

Content-Type: text/plain;

charset="iso-8859-1"

Content-Transfer-Encoding: 7bit

X-Newsreader: Microsoft CDO for Windows 2000

Thread-Index: AcOweZGB74iiy3eCSy2EbojDZ6o3qA==

X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300

Newsgroups: microsoft.public.dotnet.languages.vb

Path: cpmsftngxa07.phx.gbl

Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.languages.vb:158158

NNTP-Posting-Host: tk2msftngxa12.phx.gbl 10.40.1.164

X-Tomcat-NG: microsoft.public.dotnet.languages.vb



Is there an existing control for Visual Basic that allows

me to display text in that control, but also lets me append

text to it. The application I have in mind for this

control is something like a status page that updates with

new information without wiping out the previous info.

Thank you.





-

Re:Display text

* "Troy Wilson" <tkw829@hotmail.com>scripsit:

Quote
Is there an existing control for Visual Basic that allows

me to display text in that control, but also lets me append

text to it. The application I have in mind for this

control is something like a status page that updates with

new information without wiping out the previous info.



For example a textbox. You can call its 'AppendText' method to append

text.



--

Herfried K. Wagner [MVP]

<www.mvps.org/dotnet>">www.mvps.org/dotnet>

-

Re:Display text

* Josh.Moody@online.microsoft.com (Josh Moody [MSFT]) scripsit:

Quote
Just use a text box, and add to the text instead of just setting the text.



ie, do

textbox1.text += foo

instead of

textbox1.text = foo



In VB.NET, I prefer using the '&=' operator when working with strings.



--

Herfried K. Wagner [MVP]

<www.mvps.org/dotnet>">www.mvps.org/dotnet>

-