473,379 Members | 1,423 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,379 software developers and data experts.

texbox scroll question

Hi just wondering if there is a way to disable a text box but still allow
scrolling to work? I do not want the user to be able to change the text but
they must be able to use the scroll bars, also the disabled look is what I am
looking for, thanks.
--
Paul G
Software engineer.
Nov 21 '08 #1
3 1149
found the readonly, probably just need to set it to true and set colors to
look like it is disabled.
--
Paul G
Software engineer.
"Paul" wrote:
Hi just wondering if there is a way to disable a text box but still allow
scrolling to work? I do not want the user to be able to change the text but
they must be able to use the scroll bars, also the disabled look is what I am
looking for, thanks.
--
Paul G
Software engineer.
Nov 21 '08 #2
You can try making it readonly, the user will be able to read it and scroll
down within the textbox.
"Paul" <Pa**@discussions.microsoft.comwrote in message
news:01**********************************@microsof t.com...
Hi just wondering if there is a way to disable a text box but still allow
scrolling to work? I do not want the user to be able to change the text
but
they must be able to use the scroll bars, also the disabled look is what I
am
looking for, thanks.
--
Paul G
Software engineer.
Nov 21 '08 #3
Dont use Enabled=false; that visually would appear to work, but doesnt
scroll.

CSharpcoder wrote:
You can try making it readonly, the user will be able to read it and
scroll down within the textbox.
"Paul" <Pa**@discussions.microsoft.comwrote in message
news:01**********************************@microsof t.com...
>Hi just wondering if there is a way to disable a text box but still allow
scrolling to work? I do not want the user to be able to change the
text but
they must be able to use the scroll bars, also the disabled look is
what I am
looking for, thanks.
--
Paul G
Software engineer.
Nov 21 '08 #4

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

Similar topics

1
by: Boniface Frederic | last post by:
Hello, I have frame displaying the last posted messages. I set <meta http-equiv="refresh" content="5"/> to automatically refresh the frame every 5s My problem is; if I scroll the frame to see...
12
by: Arlie Rahn | last post by:
I would like to ad a custom scroll bar control to my app that has a customizable and "flat" look to it (not the normal VB look). Does anyone have any ideas on where to find a good one?
14
by: mr_burns | last post by:
hi, i am tryin to alter the color of my scroll bars on a site i am workin on. the site is oarsome.martynbissett.co.uk, to access the css style sheet, type in...
14
by: Simon Wigzell | last post by:
I want to display HTML text inside a div and have the page open scrolled to the bottom. (My div has overflow:auto so that it appears with scroll bars) I have found this that works on a textarea:...
0
by: Sin Jeong-hun | last post by:
If FlowLayoutPanel's AutoScroll is set to true, there appears a scroll bar on the right. Normally, users would expect the contents is scrolled while they are dragging the scroll bar. Well, it does,...
1
by: Jeremy Chapman | last post by:
I've got a grid inside a div so that it's got scroll bars around it. What I want to do is have the header row fixed at the top, so that the vertical scroll bars scroll just the data rows of the...
5
by: sam | last post by:
Hi all, I am using documnet.body.scroll to disable the window scroll bar. This works in IE only and not other browsers. Can any one tell me if there is any such method which is cross browser...
69
by: RC | last post by:
I know how to do this in JavaScript by window.open("newFile.html", "newTarget", "scrollbars=no,resizable=0,width=200,height=200"); The browser will open a new window size 200x200, not allow...
4
by: Ken Fine | last post by:
I'm making an administrative interface that lists records in a GridView. For *each* row in the gridview, I would there to be two interface elements in addition to some information associated with...
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: 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:
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.