468,115 Members | 2,077 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,115 developers. It's quick & easy.

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 1062
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Boniface Frederic | last post: by
12 posts views Thread by Arlie Rahn | last post: by
14 posts views Thread by mr_burns | last post: by
14 posts views Thread by Simon Wigzell | last post: by
3 posts views Thread by didacticone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.