CheckBox Control Caption Color

Started by RhodyRich, January 03, 2009, 12:33:44 PM

Previous topic - Next topic

RhodyRich

I can set the color for the caption in "Properties" but the color of the caption on the form does not change.

TechSupport

Seems to be the same issue with XP Themes as it is for Option Buttons and Frames.

MS article:  http://support.microsoft.com/kb/944311

RhodyRich

Okay, but is there any possibility of fixing this. I did not have this problem with PB Forms although, overall, I prefer Firefly.

David Kenny

Paul helped me with a different XP Theme issue recently.  He told me how to turn off XP Theme support in FF (PB Forms doesn't automatically use XP Themes so FF doesn't get a bad mark for this issue).  Go to the Options menu and select Environment Options. Select Code Generation in the bottom of the treeview.  Deselect Enable WinXP Theme support.

David

RhodyRich

I disabled the option and I am still not able to change the color of a CheckBox Control.

David Kenny

I can.  Though when I first tried it,  I turned off Theme support and exited FF.  I then noticed that I had another FF instance open so I closed it as well.  Then when I started it back up and loaded my test app, it didn't work.  I found that exiting the second FF instance - FF had saved the Theme support setting again.  So it was on again for my test.  When I turned it off again, restarted FF, and tested it again, it worked just fine.

David

RhodyRich

I did restart after I first changed the option. The restart had no effect for me. Maybe a Vista issue?

David Kenny

QuoteMaybe a Vista issue?

Not so sure about that as you said that programs created by PBForms look right.  When you create a program in FF with XP Themes turned off, what kind of corners are on your command buttons?  They should be square and grey.  XP Themes makes them rounded and blue.  All command buttons produced by PBForms have the square corners because it is not using Themes. Remember also, that PBForms is using DDT while FF uses SDK style programming. That adds another variable into the mix.

David