Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Text box control sizing
I have created a form using Word 07 and have added two activex textbox
controls at the bottom of the screen. I would like these controls to be able to expand if all the text cannot fit inside the borders. I know that you can add scrollbars, however then the form just prints out the "viewable" text and not the whole value. I have set WordWrap, Multiline & IntegralHeight all to True but the box still does not expand. Is what I am wishing even possible? I have other txtbox controls and a couple datepicker controls, so I have protected the form to allow only filling in the form. Would it be possible to protect part of the form, and allow typing in the bottom section? Thanks in advance, |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Text box control sizing
Hi ?B?TmF0?=,
I have created a form using Word 07 and have added two activex textbox controls at the bottom of the screen. I would like these controls to be able to expand if all the text cannot fit inside the borders. I know that you can add scrollbars, however then the form just prints out the "viewable" text and not the whole value. I have set WordWrap, Multiline & IntegralHeight all to True but the box still does not expand. Is what I am wishing even possible? I have other txtbox controls and a couple datepicker controls, so I have protected the form to allow only filling in the form. Problem with ActiveX controls is that they can reliably expand in only one direction: horizontally OR vertically. They were designed for use with Userforms. Any reason you don't want to use a form field or a Content control, instead? Those "go with the [text] flow" Would it be possible to protect part of the form, and allow typing in the bottom section? Sure. Just insert a Section Break, then in the Protect Document taskpane, with "Filling in forms" activated, click the "Sections" link to specify the sections to protect/unprotect. Cindy Meister INTER-Solutions, Switzerland http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005) http://www.word.mvps.org This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :-) |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Text box control sizing
Two things:
1. Thanks for your response. I tried the content control, and it worked OK, so long as the user clicked in the correct location on the form, otherwise they could not type. 2. The section break might be just what I needed, however I will also look into your suggestion of a form control if I can find it. Thanks again ... nat "Cindy M." wrote: Hi ?B?TmF0?=, I have created a form using Word 07 and have added two activex textbox controls at the bottom of the screen. I would like these controls to be able to expand if all the text cannot fit inside the borders. I know that you can add scrollbars, however then the form just prints out the "viewable" text and not the whole value. I have set WordWrap, Multiline & IntegralHeight all to True but the box still does not expand. Is what I am wishing even possible? I have other txtbox controls and a couple datepicker controls, so I have protected the form to allow only filling in the form. Problem with ActiveX controls is that they can reliably expand in only one direction: horizontally OR vertically. They were designed for use with Userforms. Any reason you don't want to use a form field or a Content control, instead? Those "go with the [text] flow" Would it be possible to protect part of the form, and allow typing in the bottom section? Sure. Just insert a Section Break, then in the Protect Document taskpane, with "Filling in forms" activated, click the "Sections" link to specify the sections to protect/unprotect. Cindy Meister INTER-Solutions, Switzerland http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005) http://www.word.mvps.org This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :-) |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Text box control sizing
Hi Nat,
1. Thanks for your response. I tried the content control, and it worked OK, so long as the user clicked in the correct location on the form, otherwise they could not type. Eh... Isn't that the idea of putting a control in a document? (I may be misunderstanding your requirements) 2. The section break might be just what I needed, however I will also look into your suggestion of a form control if I can find it. Developer tab, Controls group. It's in the list of "Legacy controls" (the yellow-ish button). Cindy Meister INTER-Solutions, Switzerland http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005) http://www.word.mvps.org This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :-) |
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Text box control sizing
Thanks Cindy. I used your suggestion and added the old legacy form control,
and turned off the grey shading. what I meant before is that when I added the contrent control, the user could click in teh control and type, however one user clicked in an area in the control and could not type anything and we figured out he had not clicked in the correct spot apparently. All is good with the form now ... the other suggesion about adding a section break, and protecting part of the document was cool as well. thanks so much for your assistance. "Nat" wrote: Two things: 1. Thanks for your response. I tried the content control, and it worked OK, so long as the user clicked in the correct location on the form, otherwise they could not type. 2. The section break might be just what I needed, however I will also look into your suggestion of a form control if I can find it. Thanks again ... nat "Cindy M." wrote: Hi ?B?TmF0?=, I have created a form using Word 07 and have added two activex textbox controls at the bottom of the screen. I would like these controls to be able to expand if all the text cannot fit inside the borders. I know that you can add scrollbars, however then the form just prints out the "viewable" text and not the whole value. I have set WordWrap, Multiline & IntegralHeight all to True but the box still does not expand. Is what I am wishing even possible? I have other txtbox controls and a couple datepicker controls, so I have protected the form to allow only filling in the form. Problem with ActiveX controls is that they can reliably expand in only one direction: horizontally OR vertically. They were designed for use with Userforms. Any reason you don't want to use a form field or a Content control, instead? Those "go with the [text] flow" Would it be possible to protect part of the form, and allow typing in the bottom section? Sure. Just insert a Section Break, then in the Protect Document taskpane, with "Filling in forms" activated, click the "Sections" link to specify the sections to protect/unprotect. Cindy Meister INTER-Solutions, Switzerland http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005) http://www.word.mvps.org This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :-) |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Embed word control as rich text control in asp.net? | Microsoft Word Help | |||
Sizing a text form field in a template | Microsoft Word Help | |||
How do I remove text box sizing lines? | Page Layout | |||
Automatically sizing text in tables | Tables | |||
sizing text boxes in word 2003 | Tables |