TextBox and CheckBox use in a document

P

Patrick C. Simonds

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?
 
J

Jean-Guy Marcil

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:

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?

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?


--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
P

Patrick C. Simonds

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.
 
J

Jean-Guy Marcil

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
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.

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.

--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
P

Patrick C. Simonds

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"
 
J

Jean-Guy Marcil

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?

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


--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
P

Patrick C. Simonds

Field Shading


Jean-Guy Marcil said:
Patrick C. Simonds was telling us:
Patrick C. Simonds nous racontait que :


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


--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
J

Jean-Guy Marcil

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.

--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top