Checkbox TripleState Shading

G

Guest

When converting an Access 97 to 2002/2003 I am finding that the checkbox triplestate reacts a bit different but I can handle the code changes. My question is with the look of the triple state checkbox. The documentation indicates that the values are true, false, and null. While null, the checkbox should look grayed out... but it doesn't using the default values for the style and effect. I only get the grayed out checkbox after I manually change the appearance of the Special Effect or Style to anything other than the defualt values. Not a big deal but I wanted my form to keep the XP Theme. Any suggestions?
 
A

Allen Browne

You are correct, Mike.

There is no visible difference between False and Null for a triple-state
check box when Windows XP themes are enabled, and the check box has the
default appearance.

Changing the BorderStyle of the check box looks like the best option.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.

Reply to group, rather than allenbrowne at mvps dot org.

Mike A said:
When converting an Access 97 to 2002/2003 I am finding that the checkbox
triplestate reacts a bit different but I can handle the code changes. My
question is with the look of the triple state checkbox. The documentation
indicates that the values are true, false, and null. While null, the
checkbox should look grayed out... but it doesn't using the default values
for the style and effect. I only get the grayed out checkbox after I
manually change the appearance of the Special Effect or Style to anything
other than the defualt values. Not a big deal but I wanted my form to keep
the XP Theme. Any suggestions?
 
T

TC

I got a nasty surprise about 10 seonds before releasing my main application
at a national conference a couple of years ago.

By default, it uses white for enterable fields, gray for non-enterable. The
colors change as the user clicks Add, Edit or Find on each form, to perform
the relevant function. All worked fine for the several years that the
application was in test.

Then I ran it on Windows XP. Oops! The previous "standard" gray & white,
were now almost completely indistinguishable. This made the whole system
totally inoperable!

An application-specific color picker function was added in world record time
:)

Cheers,
TC
 

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