I need a text box that will both scroll and lock.

B

Billy Smith

I'm working with an Access 2000 form.

I need a control that will let me display about 20 lines of text
in a small space. I'll need vertical scrolling. And I need to prevent
the use from changing the text.

This is what I've tried:

1) Access2000 text box
The Locked property works but the scroll bar does not appear unless
the textbox has focus. I don't want to give that box focus just to let the
user know there are more lines of text in it.

2) Microsoft RichtextControl
The Locked property does not work.

3) Microsoft Forms 2.0 TextBox
The Locked property does not work.

I've seen a couple of references on the Web reporting the problem with
the Locked property with Forms 2.0 TextBox but no solutions. Has
anyone gotten that control to work?

Any ideas for how to get one of these to both lock and show the scroll
bar? Or any other free controls that will both scroll and lock?

Thanks in advance.
 
B

biganthony via AccessMonster.com

What about a memo field?



Billy said:
I'm working with an Access 2000 form.

I need a control that will let me display about 20 lines of text
in a small space. I'll need vertical scrolling. And I need to prevent
the use from changing the text.

This is what I've tried:

1) Access2000 text box
The Locked property works but the scroll bar does not appear unless
the textbox has focus. I don't want to give that box focus just to let the
user know there are more lines of text in it.

2) Microsoft RichtextControl
The Locked property does not work.

3) Microsoft Forms 2.0 TextBox
The Locked property does not work.

I've seen a couple of references on the Web reporting the problem with
the Locked property with Forms 2.0 TextBox but no solutions. Has
anyone gotten that control to work?

Any ideas for how to get one of these to both lock and show the scroll
bar? Or any other free controls that will both scroll and lock?

Thanks in advance.
 
D

Douglas J. Steele

Why do you need a scroll bar if the field doesn't have focus? You can't
scroll unless the field has focus!
 
B

Billy Smith

Thanks for your reply.

The reason I want a scroll bar without focus is so that the user can tell at
a glance that
the box contains more text than what he sees. When the form comes up I want
the focus
on the control the user is most likely to use, which is a different control.
But when he
looks at the text box it should be clear that he can scroll it.

It just seems like ordinary behavior for a scrollable control to show its
scroll bars even
without focus.

What really surprises me is that the Microsoft RichtextControl and the
Microsoft Forms 2.0
TextBox, two really useful and basic controls, appear to have bugs in them.
I hope
I'm not using them incorrectly.
 
B

Billy Smith

I'm not talking about a field in a table. I don't even get my text directly
from a
table. I need to put the text on a form. Is there some kind of memo
control
I don't know about?
 
R

Rick Brandt

Billy said:
I'm not talking about a field in a table. I don't even get my text
directly from a
table. I need to put the text on a form. Is there some kind of memo
control
I don't know about?

Nothing native to Access no. The same TextBox is used for Text and Memo and
it simply does not show a scrollbar when it does not have focus.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top