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. |
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|