Controls lose their Transparency? URGENT!

T

Thief_

I have created a word document which consists of a 3-column table. In the
middle column, each cell has 2 or three Option Buttons (Control Toolbox
controls). This column is shaded Blue, nothing special. The Option Buttons
have a white background which looks ugly in a blue column so I changed the
BackStyle property to frmBackStyleTransparent so that the white background
would not appear. It looks good now, but when I
exit Design Mode, the backgrounds of all the Options Buttons have gone back
to white (the default). If I change the background colour, it is that colour
that appears when I exit Design Mode.

I have replicated the problem with a new document and it's driving me nuts.

Why is this happening?

Word2003 SP1
 
J

Jay Freedman

I have created a word document which consists of a 3-column table. In the
middle column, each cell has 2 or three Option Buttons (Control Toolbox
controls). This column is shaded Blue, nothing special. The Option Buttons
have a white background which looks ugly in a blue column so I changed the
BackStyle property to frmBackStyleTransparent so that the white background
would not appear. It looks good now, but when I
exit Design Mode, the backgrounds of all the Options Buttons have gone back
to white (the default). If I change the background colour, it is that colour
that appears when I exit Design Mode.

I have replicated the problem with a new document and it's driving me nuts.

Why is this happening?

Word2003 SP1

Cindy Meister answered your identical question three days ago. If you
can't find it in the newsgroup, here's the Google Groups copy:
http://groups.google.com/group/micr...t.public.word.*&rnum=2&hl=en#b4d433415b0db08d

Basically, the answer is, that's the way it works.
 
T

Thief_

Thanks Jay,

I honestly didn't see a reply in my Outlook Express client so I thought no
one answered it.

Cindy stated:

Because that's how the option buttons are designed to work in the Word
document environment.

So my question is why have the frmBackStyleTransparent property if it
doesn't work?
 
C

Cindy M -WordMVP-

Hi Thief_,
So my question is why have the frmBackStyleTransparent property if it
doesn't work?
Because these ActiveX controls were originally designed to work in VBA
UserForms, but they can also be used elsewhere (Word docs, Excel
spreadsheets, for example). Depending on the "container" in which
they're located, different properties and events are available (or
not). Transparent background should work in a Userform (although I
haven't tried it recently), but not in a Word document.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
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 :)
 

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