473,385 Members | 1,535 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Textbox scrolling

i have a text box with limited space that gets loaded from database records.
the important info is at the bottom of the text, which requires scrolling to
get to it, which is a pain.

is there a way by software to make a textbox scroll to a certain area of the
itself, if so how?

thanks for any help, ray

please respond to the list

Nov 15 '05 #1
4 10790

try using textBox1.ScrollToCaretMethod();
hope this helps

regards,

tribal
-----Original Message-----
i have a text box with limited space that gets loaded from database records.the important info is at the bottom of the text, which requires scrolling toget to it, which is a pain.

is there a way by software to make a textbox scroll to a certain area of theitself, if so how?

thanks for any help, ray

please respond to the list

.

Nov 15 '05 #2
tribal,

i'm looking for a way to do it without needing to have a caret at a specific
location.

ray

try using textBox1.ScrollToCaretMethod();

Nov 15 '05 #3
Setting the SelectionStart property of the control will move the caret to
the desired position. Then call the ScrollToCaretMethod.

Chris

"ray well" <no****@nospam.com> wrote in message
news:eP**************@TK2MSFTNGP09.phx.gbl...
i have a text box with limited space that gets loaded from database records. the important info is at the bottom of the text, which requires scrolling to get to it, which is a pain.

is there a way by software to make a textbox scroll to a certain area of the itself, if so how?

thanks for any help, ray

please respond to the list

Nov 15 '05 #4
From what I read, Ray does not want to move the caret.

--
----------
Will Pittenger
E-Mail: mailto:wi************@verizon.net
All mail filtered by Qurb (www.qurb.com)
"Chris Capel" <ch***@ibanktech.net.zerospam> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Setting the SelectionStart property of the control will move the caret to
the desired position. Then call the ScrollToCaretMethod.

Chris

"ray well" <no****@nospam.com> wrote in message
news:eP**************@TK2MSFTNGP09.phx.gbl...
i have a text box with limited space that gets loaded from database records.
the important info is at the bottom of the text, which requires

scrolling to
get to it, which is a pain.

is there a way by software to make a textbox scroll to a certain area of

the
itself, if so how?

thanks for any help, ray

please respond to the list


Nov 15 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: JimO | last post by:
I teach HS computers and one of my kids has a web site with a textbox of info that the user can scroll down and read. The problem is that users can also enter text into it. Is there a way, or a...
5
by: pv_kannan | last post by:
Hello, I am stuck with a problem trying to mimic the behavior of a Windows Forms Readonly textbox in HMTL/ASP.NET. Basically, I would like the text to be readonly and overflow the textbox...
1
by: objectref | last post by:
Hi to all, we have the MousePosition property that we can get the Point of the position of the mouse cursor on the screen, but is it there a way to get the respective Point of a cursor in a...
4
by: Grant Schenck | last post by:
I want to append text to the end of a text box. If the cursor is currently at the end I just want to append it and have the normal scrolling take place if needed. However, if the selection...
1
by: Solx37 | last post by:
I am trying to figure out how to prevent scrolling when I append text. It scrolls to the bottom whenever I use AppendText. It jumps to the top whenever I += text to the Text property.
5
by: Kent Briggs | last post by:
VB 2005 Express. I have a readonly multiline textbox with a vertical scrollbar. I'm programatically adding text to it with textbox1.appendtext(mytext) and it scrolls automatically. However, I only...
1
by: Flack | last post by:
Hey guys, I have two questions regarding the vertical srollbar of a multiline textbox. 1. I have an "Ok" button that is initially disabled. I want it to be enabled when the user scrolls the...
4
by: Usmaak | last post by:
Hi, I have a TextBox that is set to a certain width. From this, I need to figure out the max number of characters that can fit into the TextBox. I'm using Courier New font, size 8.25. I've...
7
by: robert.waters | last post by:
I have an Access database frontend linked via ODBC to a large (gigabytes) mysql database. I need to view a large amount of data in a a textbox (variable up to 300K), but I receive a 'there isnt...
1
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...
0
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.