Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / April 2007

Tip: Looking for answers? Try searching our database.

TextBox and CheckBox use in a document

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Patrick C. Simonds - 27 Apr 2007 04:23 GMT
Sorry about the double posting, but did not get much response in the first
group:

I am creating a Form and on the form I am placing TextBoxes and CheckBoxes
which will be filled using VBA. My problem is that I have set the TextBoxes
and CheckBoxes to transparent and turned off their boarders, I have even
placed them behind text, but when the form is viewed on the screen they
block what is in front of them. When I have the form open in the design mode
and when I print the form, everything works and displays as it should. Any
thoughts?
Jean-Guy Marcil - 27 Apr 2007 15:33 GMT
Patrick C. Simonds was telling us:
Patrick C. Simonds nous racontait que :

> Sorry about the double posting, but did not get much response in the
> first group:
[quoted text clipped - 6 lines]
> the form open in the design mode and when I print the form,
> everything works and displays as it should. Any thoughts?

Are you writing about ActiveX controls on a forms in a document (A locked
form) or about controls on a userform (A dialog box?)

Why hide stuff that needs to be filled in?

Signature

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org

Patrick C. Simonds - 28 Apr 2007 02:44 GMT
Yes ActiveX controls in a document. It is not that I am hiding the control,
but making it transparent. The form serves 2 purposes, 1 is that we most be
able to print a blank form to be filled in by a client, so there are lines
on the form to be written on. 2 the same form must be able to be filled in
through the use of a series of dialog boxes and then that information is
placed on the form (which should be readable on the computer). I wanted the
ActiveX controls to be transparent so the text would appear on the lines
that are on the document. All works well when the document is printed, but
when the document is viewed on the screen the lines (and the text
immediately below the lines) are not visible.

> Patrick C. Simonds was telling us:
> Patrick C. Simonds nous racontait que :
[quoted text clipped - 14 lines]
>
> Why hide stuff that needs to be filled in?
Jean-Guy Marcil - 28 Apr 2007 17:16 GMT
Patrick C. Simonds was telling us:
Patrick C. Simonds nous racontait que :

> Yes ActiveX controls in a document. It is not that I am hiding the
> control, but making it transparent. The form serves 2 purposes, 1 is
[quoted text clipped - 7 lines]
> document is viewed on the screen the lines (and the text immediately
> below the lines) are not visible.

On my machine if I use BackStyle fmBackStyleOpaque and the SpecialEffect
fmSpecialEffectFlat, they textboxes are nearly invisible and if I draw line
behind, then indeed it is still hidden by the TextBox.

The only way around it is to use fmBackStyleTransparent and to make sure
that my Field Shading option (Tools > Options...> View tab > Field Shading)
is set to "Never". Then, both on the screen on in print preview, the Textbox
does not hide anything at all.

As for the checkbox, as a minimum, you need to see the square that needs to
be checked, whether the form is used on-line or with a pen.

Signature

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org

Patrick C. Simonds - 28 Apr 2007 23:20 GMT
I can not find this option in Word 2007. Do you know where it might be?

The only way around it is to use fmBackStyleTransparent and to make sure
that my Field Shading option (Tools > Options...> View tab > Field Shading)
is set to "Never"

> Patrick C. Simonds was telling us:
> Patrick C. Simonds nous racontait que :
[quoted text clipped - 22 lines]
> As for the checkbox, as a minimum, you need to see the square that needs
> to be checked, whether the form is used on-line or with a pen.
Jean-Guy Marcil - 29 Apr 2007 03:18 GMT
Patrick C. Simonds was telling us:
Patrick C. Simonds nous racontait que :

> I can not find this option in Word 2007. Do you know where it might
> be?
>> The only way around it is to use fmBackStyleTransparent and to make
>> sure that my Field Shading option (Tools > Options...> View tab >
>> Field Shading) is set to "Never"

Which option can't you find, "fmBackStyleTransparent" or "Field Shading"?

Signature

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org

Patrick C. Simonds - 30 Apr 2007 04:59 GMT
Field Shading

> Patrick C. Simonds was telling us:
> Patrick C. Simonds nous racontait que :
[quoted text clipped - 6 lines]
>
> Which option can't you find, "fmBackStyleTransparent" or "Field Shading"?
Jean-Guy Marcil - 30 Apr 2007 08:01 GMT
Patrick C. Simonds was telling us:
Patrick C. Simonds nous racontait que :

> Field Shading

Click on the big Office Button (top left corner) > Word Options (bottom
right) > Advanced (left pane) > Scroll down to "Show document content" >
Field Shading > Never.

Signature

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org


Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.