Text box control in Word form 
Author Message
 Text box control in Word form

Hello,

I have a form in a Word template with a Userform. I want
to display some information, which, when it is long, I
want the user to be able to scroll and see. I dont want
the user to be able to change it.

Which is the control to be used?

I tried textbox control, but if I set the Enable to Yes,
user can edit. If I set it to No, it wont display scroll
bars and he cannot see the complete information. I dont
want to increase the size and make it multi line, it wont
look nice on the form.

Thanks in advance.

Regards,
Ravi



Thu, 22 Dec 2005 01:30:04 GMT  
 Text box control in Word form
Generally, you can set any of controls for listing info.
for MatchEntry to 0 - fmMatchEntryFirstLetter.  This
prevents the user from typing in any info.  You can only
jump to the first instance of the character typed, but it
won't allow any info. to be typed over it.

When I have lots of info. for the user to see, rather than
using a drop down style, I usually use a Listbox as
follows:

Set the ListStyle to 0 - fmliststyleplain
Set the MatchEntry to 0 - fmMatchEntryFirstLetter

Good luck.

Quote:
>-----Original Message-----
>Hello,

>I have a form in a Word template with a Userform. I want
>to display some information, which, when it is long, I
>want the user to be able to scroll and see. I dont want
>the user to be able to change it.

>Which is the control to be used?

>I tried textbox control, but if I set the Enable to Yes,
>user can edit. If I set it to No, it wont display scroll
>bars and he cannot see the complete information. I dont
>want to increase the size and make it multi line, it wont
>look nice on the form.

>Thanks in advance.

>Regards,
>Ravi

>.



Thu, 22 Dec 2005 05:11:49 GMT  
 Text box control in Word form
Ravi,

Another way is to create another userform with one label on it.
Put your text as the label caption and size the label to fit the text
(wordwrap on).
Put scrollbars on the userform.
Now size your userform SMALLER than the label.
When you want the user to read your text, show the new form.
As the text is a label, it cannot be altered by the user,
but they will be able to scroll the new form to read all the text.

HTH
Henry


Quote:
> Hello,

> I have a form in a Word template with a Userform. I want
> to display some information, which, when it is long, I
> want the user to be able to scroll and see. I dont want
> the user to be able to change it.

> Which is the control to be used?

> I tried textbox control, but if I set the Enable to Yes,
> user can edit. If I set it to No, it wont display scroll
> bars and he cannot see the complete information. I dont
> want to increase the size and make it multi line, it wont
> look nice on the form.

> Thanks in advance.

> Regards,
> Ravi



Thu, 22 Dec 2005 06:38:38 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Created Form in Word - Irregular movement of combo boxes, text boxes on scrolling

2. using VB text boxes data but not text boxes in word 2000

3. newbie Q: text box control on a custom dialog box form

4. Word Table in Form Text Box

5. spell check text box in word 2000 form

6. Export text boxes in Word form to Excel or access

7. Word Table in Form Text Box

8. String truncates all but 1st word in Form Input type text box

9. Exposing Word in browser form text boxes

10. Word Wrapping at standard text box control

11. Rich Text Box Control - Word 97?

12. Text Box/Rich Edit Control Disabling Word Wrap

 

 
Powered by phpBB® Forum Software