Long text in textbox with scrollbars

  • Thread starter Thread starter Timothy Taylor
  • Start date Start date
T

Timothy Taylor

Hello,

I have a textbox that i'm putting a lot of text into

I only have vertical scroll bars, that's all i want

I want to make it so when the user pushes up and down it pages up and down
on the text box,
how?

-Tim
 
Hi Timothy,

It might be hard to get perfect, but you might be able to do this by
plugging into the KeyDown event and incrementing the 'SelectionStart' by
some value roughly equilivant to the amount of characters visible on one of
your pages.

Hope that helps you out,
-Katie

--------------------
| From: "Timothy Taylor" <[email protected]>
| Subject: Long text in textbox with scrollbars
| Date: Thu, 2 Oct 2003 08:17:01 -0700
| Lines: 13
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <#[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: vsat-148-63-243-204.c004.g4.mrt.starband.net
148.63.243.204
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:34970
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| Hello,
|
| I have a textbox that i'm putting a lot of text into
|
| I only have vertical scroll bars, that's all i want
|
| I want to make it so when the user pushes up and down it pages up and down
| on the text box,
| how?
|
| -Tim
|
|
|

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