A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Text Box Resizing



 
 
Thread Tools Display Modes
  #1  
Old December 17th, 2006, 03:35 PM posted to microsoft.public.access.forms
Posse John
external usenet poster
 
Posts: 13
Default Text Box Resizing

I have a form that contains text boxes. The user inputs verbiage to be saved
in the DB.

Sometimes the verbiage is lengthy.

My boxes do not resize, or at least display a vertical scroll bar when text
extends beyond what is shown.

I have the text box properties set as follows..
Scroll Bars = Vertical
Can Grow = Yes
Can Shrink = Yes

What must I change/enable to properly display the text?

Than you in advance.
  #2  
Old December 17th, 2006, 04:11 PM posted to microsoft.public.access.forms
Wayne-I-M
external usenet poster
 
Posts: 3,674
Default Text Box Resizing

Hi John

The can grow / shrink applies to reports not forms.

You may be able to reduce the font size slightly to make the text fit the
field
http://www.lebans.com/autosizefont.htm

But - It may be better to simply allow scroll bars so that user can view the
text.

Hope this helps


--
Buon Natale, Happy Chritmas.

Wayne
Manchester, England.
Scusate,ma il mio Inglese fa schiffo :-)
Percio se non ci siamo capiti, mi mandate un
messagio e provero di spiegarmi meglio.



"Posse John" wrote:

I have a form that contains text boxes. The user inputs verbiage to be saved
in the DB.

Sometimes the verbiage is lengthy.

My boxes do not resize, or at least display a vertical scroll bar when text
extends beyond what is shown.

I have the text box properties set as follows..
Scroll Bars = Vertical
Can Grow = Yes
Can Shrink = Yes

What must I change/enable to properly display the text?

Than you in advance.

  #3  
Old December 17th, 2006, 04:35 PM posted to microsoft.public.access.forms
Posse John
external usenet poster
 
Posts: 13
Default Text Box Resizing

I have the text box scrollbars set to vertical, but they do not appear.

"Wayne-I-M" wrote:

Hi John

The can grow / shrink applies to reports not forms.

You may be able to reduce the font size slightly to make the text fit the
field
http://www.lebans.com/autosizefont.htm

But - It may be better to simply allow scroll bars so that user can view the
text.

Hope this helps


--
Buon Natale, Happy Chritmas.

Wayne
Manchester, England.
Scusate,ma il mio Inglese fa schiffo :-)
Percio se non ci siamo capiti, mi mandate un
messagio e provero di spiegarmi meglio.



"Posse John" wrote:

I have a form that contains text boxes. The user inputs verbiage to be saved
in the DB.

Sometimes the verbiage is lengthy.

My boxes do not resize, or at least display a vertical scroll bar when text
extends beyond what is shown.

I have the text box properties set as follows..
Scroll Bars = Vertical
Can Grow = Yes
Can Shrink = Yes

What must I change/enable to properly display the text?

Than you in advance.

  #4  
Old December 17th, 2006, 04:40 PM posted to microsoft.public.access.forms
missinglinq via AccessMonster.com
external usenet poster
 
Posts: 545
Default Text Box Resizing

Another possibility is to expand the text box using the Zoom command. This
code expands a text box when the mouse moves over it. The same code could be
used in other events such as Double-Click or GotFocus (these wouldn't need
the .SetFocus line) as well.

Private Sub YourTextBox_MouseMove(Button As Integer, Shift As Integer, X As
Single, Y As Single)
If Not IsNull(YourTextBox) Then
YourTextBox.SetFocus
DoCmd.RunCommand acCmdZoomBox
End If
End Sub

Wayne-I-M wrote:
Hi John

The can grow / shrink applies to reports not forms.

You may be able to reduce the font size slightly to make the text fit the
field
http://www.lebans.com/autosizefont.htm

But - It may be better to simply allow scroll bars so that user can view the
text.

Hope this helps

I have a form that contains text boxes. The user inputs verbiage to be saved
in the DB.

[quoted text clipped - 12 lines]

Than you in advance.


--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000

Message posted via http://www.accessmonster.com

  #5  
Old December 17th, 2006, 04:47 PM posted to microsoft.public.access.forms
Wayne-I-M
external usenet poster
 
Posts: 3,674
Default Text Box Resizing

Hi John

You can only use text boxes for up to 255 charactures. Go to the table and
change the field to a memo field

MAKE A BACKUP OF THE TABLE 1ST ???

Hope this helps


--
Buon Natale, Happy Chritmas.

Wayne
Manchester, England.
Scusate,ma il mio Inglese fa schiffo :-)
Percio se non ci siamo capiti, mi mandate un
messagio e provero di spiegarmi meglio.



"Posse John" wrote:

I have the text box scrollbars set to vertical, but they do not appear.

"Wayne-I-M" wrote:

Hi John

The can grow / shrink applies to reports not forms.

You may be able to reduce the font size slightly to make the text fit the
field
http://www.lebans.com/autosizefont.htm

But - It may be better to simply allow scroll bars so that user can view the
text.

Hope this helps


--
Buon Natale, Happy Chritmas.

Wayne
Manchester, England.
Scusate,ma il mio Inglese fa schiffo :-)
Percio se non ci siamo capiti, mi mandate un
messagio e provero di spiegarmi meglio.



"Posse John" wrote:

I have a form that contains text boxes. The user inputs verbiage to be saved
in the DB.

Sometimes the verbiage is lengthy.

My boxes do not resize, or at least display a vertical scroll bar when text
extends beyond what is shown.

I have the text box properties set as follows..
Scroll Bars = Vertical
Can Grow = Yes
Can Shrink = Yes

What must I change/enable to properly display the text?

Than you in advance.

  #6  
Old December 17th, 2006, 04:57 PM posted to microsoft.public.access.forms
Wayne-I-M
external usenet poster
 
Posts: 3,674
Default Text Box Resizing

I think that Zoom may not work (except to allow user to see) as this still
will not change the amount of "stuff" that can be input into the text box

From the original post
Sometimes the verbiage is lengthy.


:-)

--
Buon Natale, Happy Chritmas.

Wayne
Manchester, England.
Scusate,ma il mio Inglese fa schiffo :-)
Percio se non ci siamo capiti, mi mandate un
messagio e provero di spiegarmi meglio.



"missinglinq via AccessMonster.com" wrote:

Another possibility is to expand the text box using the Zoom command. This
code expands a text box when the mouse moves over it. The same code could be
used in other events such as Double-Click or GotFocus (these wouldn't need
the .SetFocus line) as well.

Private Sub YourTextBox_MouseMove(Button As Integer, Shift As Integer, X As
Single, Y As Single)
If Not IsNull(YourTextBox) Then
YourTextBox.SetFocus
DoCmd.RunCommand acCmdZoomBox
End If
End Sub

Wayne-I-M wrote:
Hi John

The can grow / shrink applies to reports not forms.

You may be able to reduce the font size slightly to make the text fit the
field
http://www.lebans.com/autosizefont.htm

But - It may be better to simply allow scroll bars so that user can view the
text.

Hope this helps

I have a form that contains text boxes. The user inputs verbiage to be saved
in the DB.

[quoted text clipped - 12 lines]

Than you in advance.


--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000

Message posted via http://www.accessmonster.com


  #7  
Old December 17th, 2006, 05:18 PM posted to microsoft.public.access.forms
Posse John
external usenet poster
 
Posts: 13
Default Text Box Resizing

The amount of text has not been a problem, just having it visible on the form
is.

Either having the verticle scroll bar appear for the text box, or having the
text box resize for that record would meet my needs.

"Wayne-I-M" wrote:

I think that Zoom may not work (except to allow user to see) as this still
will not change the amount of "stuff" that can be input into the text box

From the original post
Sometimes the verbiage is lengthy.


:-)

--
Buon Natale, Happy Chritmas.

Wayne
Manchester, England.
Scusate,ma il mio Inglese fa schiffo :-)
Percio se non ci siamo capiti, mi mandate un
messagio e provero di spiegarmi meglio.



"missinglinq via AccessMonster.com" wrote:

Another possibility is to expand the text box using the Zoom command. This
code expands a text box when the mouse moves over it. The same code could be
used in other events such as Double-Click or GotFocus (these wouldn't need
the .SetFocus line) as well.

Private Sub YourTextBox_MouseMove(Button As Integer, Shift As Integer, X As
Single, Y As Single)
If Not IsNull(YourTextBox) Then
YourTextBox.SetFocus
DoCmd.RunCommand acCmdZoomBox
End If
End Sub

Wayne-I-M wrote:
Hi John

The can grow / shrink applies to reports not forms.

You may be able to reduce the font size slightly to make the text fit the
field
http://www.lebans.com/autosizefont.htm

But - It may be better to simply allow scroll bars so that user can view the
text.

Hope this helps

I have a form that contains text boxes. The user inputs verbiage to be saved
in the DB.
[quoted text clipped - 12 lines]

Than you in advance.


--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000

Message posted via http://www.accessmonster.com


  #8  
Old December 17th, 2006, 05:39 PM posted to microsoft.public.access.forms
Wayne-I-M
external usenet poster
 
Posts: 3,674
Default Text Box Resizing

Change the field to a memo field will do what you want (scroll bars).

Dont forget BACKUP THE TABLE 1st - Just in case ??



--
Buon Natale, Happy Chritmas.

Wayne
Manchester, England.
Scusate,ma il mio Inglese fa schiffo :-)
Percio se non ci siamo capiti, mi mandate un
messagio e provero di spiegarmi meglio.



"Posse John" wrote:

The amount of text has not been a problem, just having it visible on the form
is.

Either having the verticle scroll bar appear for the text box, or having the
text box resize for that record would meet my needs.

"Wayne-I-M" wrote:

I think that Zoom may not work (except to allow user to see) as this still
will not change the amount of "stuff" that can be input into the text box

From the original post
Sometimes the verbiage is lengthy.


:-)

--
Buon Natale, Happy Chritmas.

Wayne
Manchester, England.
Scusate,ma il mio Inglese fa schiffo :-)
Percio se non ci siamo capiti, mi mandate un
messagio e provero di spiegarmi meglio.



"missinglinq via AccessMonster.com" wrote:

Another possibility is to expand the text box using the Zoom command. This
code expands a text box when the mouse moves over it. The same code could be
used in other events such as Double-Click or GotFocus (these wouldn't need
the .SetFocus line) as well.

Private Sub YourTextBox_MouseMove(Button As Integer, Shift As Integer, X As
Single, Y As Single)
If Not IsNull(YourTextBox) Then
YourTextBox.SetFocus
DoCmd.RunCommand acCmdZoomBox
End If
End Sub

Wayne-I-M wrote:
Hi John

The can grow / shrink applies to reports not forms.

You may be able to reduce the font size slightly to make the text fit the
field
http://www.lebans.com/autosizefont.htm

But - It may be better to simply allow scroll bars so that user can view the
text.

Hope this helps

I have a form that contains text boxes. The user inputs verbiage to be saved
in the DB.
[quoted text clipped - 12 lines]

Than you in advance.

--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000

Message posted via http://www.accessmonster.com


  #9  
Old December 17th, 2006, 05:45 PM posted to microsoft.public.access.forms
Rick Brandt
external usenet poster
 
Posts: 4,354
Default Text Box Resizing

"Wayne-I-M" wrote in message
...
Change the field to a memo field will do what you want (scroll bars).


The Field's DataType has nothing to do with whether scrollbars appear in the
TextBox or not.

I believe some versions of Access have a bug wherein the scrollbar on a TextBox
won't appear depending on the margin property setting of the control. And of
course the control has to be at least two lines tall to get a scrollbar.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


  #10  
Old December 17th, 2006, 06:32 PM posted to microsoft.public.access.forms
missinglinq via AccessMonster.com
external usenet poster
 
Posts: 545
Default Text Box Resizing

Excuse me, but Posse John said nothing about increasing the amount of data
entered, just

"What must I change/enable to properly display the text?"

which, as you said, the zooming action does. Data entry can also be done in
the zoom box. If he needs to increase the data beyond the text datatype's
255 limit, then he needs to go to a memo filed, but he mentions nothing about
this. Answering questions that haven't been asked is not very productive.


Wayne-I-M wrote:
I think that Zoom may not work (except to allow user to see) as this still
will not change the amount of "stuff" that can be input into the text box

From the original post
Sometimes the verbiage is lengthy.


:-)

Another possibility is to expand the text box using the Zoom command. This
code expands a text box when the mouse moves over it. The same code could be

[quoted text clipped - 27 lines]

Than you in advance.


--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000

Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/200612/1

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:32 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.