Scrollbox: using a scrollbox to sroll in a text object

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello:

I have fairly large text field, which will hold a fair amount of text in my
database.

I will be typing the text via a text object in a form. Normally, the method
for scrolling through such a box is to simply use the arrow keys and go
through the text.

However, as there may be other individuals who look at this text, they may
not have the same feel for how for into the text they are at any given point
in time.

I noticed in Access, that MSoft makes a scroll box object available.

Is there a way to link that and make it work with a text box? Logically it
makes sense, but the heck does one do that?

Thanks,
pepe
 
Try using memo instead of a text box. A text box stores up to 255
characters and a memo can store up to 65,535 characters. Plus the memo
uses scroll bars to view the entire amount of text.
 
The standard TextBox control has bult in ScrollBars which can be enabled
via the control's ScrollBar property.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Thanks.

Stephen Lebans said:
The standard TextBox control has bult in ScrollBars which can be enabled
via the control's ScrollBar property.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Very cool. Thanks.

Penguin said:
Try using memo instead of a text box. A text box stores up to 255
characters and a memo can store up to 65,535 characters. Plus the memo
uses scroll bars to view the entire amount of text.
 
Concerning scrollable textboxes, I have a sizable piece of text I want to
display in a control on a form. I do not want the text changed as it is for
informational purposes and I do not want to display its full length as it
would be longer than the screen (think EULA agreement). I am basically
looking for a textbox or label that will scroll through the text. I am
baffled that this isn't part of the basic controls for Forms.

Damon
 
Use a text box, set its Scroll Bar property appropriately, and set its
Locked property to True.
 
Unfortuantely, whenever I try entering the text I want in the textbox I get
the message "The text is too long to be edited". I tried entering the text
into a table and link the textbox to it but then I get #Name? in the text
box. I then tried making a query based on the table and linking the textbox
to the query, but I still get #Name? in the textbox.

Thanks for your quick reply and if you can help me further I'd appreciate it.

Damon
 
What exactly are you doing when you "try entering the text...in the
textbox"?

What's the data type of the field into which you're attempting to put the
text? If it's a Text field (as opposed to a Memo field), you cannot exceed
255 characters.

Are you sure you're using the correct name for the field when you're trying
to bind it to the textbox?
 
What exactly are you doing when you "try entering the text...in the
textbox"?
I am copy/pasting from a word document.
What's the data type of the field into which you're attempting to put the
text? If it's a Text field (as opposed to a Memo field), you cannot exceed
255 characters.
The control is an unbound textbox. It is not necessary for the data to be
saved in a table because it is just a non changeabe text that appears on my
databases splash screen.
Are you sure you're using the correct name for the field when you're trying
to bind it to the textbox?
Yes.

Thanks for the quick response.

Damon
 
Anybody?

Damon said:
I am copy/pasting from a word document.

The control is an unbound textbox. It is not necessary for the data to be
saved in a table because it is just a non changeabe text that appears on my
databases splash screen.

Yes.

Thanks for the quick response.

Damon
 
What "control's ScrollBar" property?

In a memo field, is there a equivalent property? I don't see that property
even in the All tab.
 
Back
Top