Click here to Skip to main content
15,887,585 members
Home / Discussions / C#
   

C#

 
GeneralWindows Address Book Pin
Anonymous8-Feb-04 12:04
Anonymous8-Feb-04 12:04 
GeneralRe: Windows Address Book Pin
Heath Stewart8-Feb-04 19:20
protectorHeath Stewart8-Feb-04 19:20 
GeneralRe: Windows Address Book Pin
Anonymous9-Feb-04 2:54
Anonymous9-Feb-04 2:54 
GeneralRe: Windows Address Book Pin
Heath Stewart9-Feb-04 3:25
protectorHeath Stewart9-Feb-04 3:25 
GeneralAdvice on editable datagrid Pin
Andrlage8-Feb-04 11:20
Andrlage8-Feb-04 11:20 
GeneralRe: Advice on editable datagrid Pin
Nick Parker8-Feb-04 11:32
protectorNick Parker8-Feb-04 11:32 
GeneralAutoScrolling TextBoxes Pin
ZigmaT8-Feb-04 10:51
ZigmaT8-Feb-04 10:51 
GeneralRe: AutoScrolling TextBoxes Pin
Heath Stewart8-Feb-04 19:04
protectorHeath Stewart8-Feb-04 19:04 
In the future, please refrain from re-posting unanswered topics unless you allow ample time in between. If you have something that needs answering immediatley, you're definitely in the wrong place.

Most decent terminal applications derive their own control using buffered screen output. The TextBox control in .NET is very basic (this encapsulates the Edit Windows common control). You should consider deriving your own. This buffer stores past lines in a queue and a view is displayed over that buffer for X number of lines.

There's examples of this on the 'net, though few in C# of which I'm aware. The concept is pretty simple, though, and the concepts presented in other languages should work fine.

Note that to make the TextBox do this some work is involved and the pay-off isn't very good. You're still left with plain, single-font text. Even using a RichTextBox - which should scroll correctly - would be much better.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: AutoScrolling TextBoxes Pin
ZigmaT9-Feb-04 8:32
ZigmaT9-Feb-04 8:32 
GeneralBroadcasting on a local network Pin
ZigmaT8-Feb-04 10:42
ZigmaT8-Feb-04 10:42 
GeneralRe: Broadcasting on a local network Pin
Nick Parker8-Feb-04 10:54
protectorNick Parker8-Feb-04 10:54 
GeneralRe: Broadcasting on a local network Pin
ZigmaT8-Feb-04 11:01
ZigmaT8-Feb-04 11:01 
GeneralRe: Broadcasting on a local network Pin
Nick Parker8-Feb-04 11:29
protectorNick Parker8-Feb-04 11:29 
GeneralRe: Broadcasting on a local network Pin
ZigmaT8-Feb-04 12:22
ZigmaT8-Feb-04 12:22 
GeneralRe: Broadcasting on a local network Pin
Heath Stewart8-Feb-04 18:33
protectorHeath Stewart8-Feb-04 18:33 
GeneralCompiling Dependancies Pin
ZigmaT8-Feb-04 9:47
ZigmaT8-Feb-04 9:47 
GeneralRe: Compiling Dependancies Pin
Mazdak8-Feb-04 9:56
Mazdak8-Feb-04 9:56 
GeneralRe: Compiling Dependancies Pin
ZigmaT8-Feb-04 10:37
ZigmaT8-Feb-04 10:37 
GeneralRe: Compiling Dependancies Pin
Heath Stewart8-Feb-04 18:22
protectorHeath Stewart8-Feb-04 18:22 
GeneralRe: Compiling Dependancies Pin
ZigmaT9-Feb-04 8:30
ZigmaT9-Feb-04 8:30 
GeneralGetDisplayName - Valid, but no return value Pin
Tristan Rhodes8-Feb-04 9:14
Tristan Rhodes8-Feb-04 9:14 
GeneralRe: GetDisplayName - Valid, but no return value Pin
Nick Parker8-Feb-04 10:28
protectorNick Parker8-Feb-04 10:28 
GeneralRe: GetDisplayName - Valid, but no return value Pin
Tristan Rhodes8-Feb-04 12:46
Tristan Rhodes8-Feb-04 12:46 
GeneralSending an Image over HTTP. Pin
Jon Newman8-Feb-04 9:03
Jon Newman8-Feb-04 9:03 
GeneralRe: Sending an Image over HTTP. Pin
Mazdak8-Feb-04 9:09
Mazdak8-Feb-04 9:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.