PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: RhodyRich on January 03, 2009, 12:33:44 PM

Title: CheckBox Control Caption Color
Post by: RhodyRich on January 03, 2009, 12:33:44 PM
I can set the color for the caption in "Properties" but the color of the caption on the form does not change.
Title: Re: CheckBox Control Caption Color
Post by: TechSupport on January 04, 2009, 12:13:43 AM
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
Title: Re: CheckBox Control Caption Color
Post by: RhodyRich on January 04, 2009, 08:11:14 AM
Okay, but is there any possibility of fixing this. I did not have this problem with PB Forms although, overall, I prefer Firefly.
Title: Re: CheckBox Control Caption Color
Post by: David Kenny on January 05, 2009, 01:24:42 PM
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
Title: Re: CheckBox Control Caption Color
Post by: RhodyRich on January 06, 2009, 08:00:02 AM
I disabled the option and I am still not able to change the color of a CheckBox Control.
Title: Re: CheckBox Control Caption Color
Post by: David Kenny on January 06, 2009, 03:23:20 PM
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
Title: Re: CheckBox Control Caption Color
Post by: RhodyRich on January 06, 2009, 06:24:35 PM
I did restart after I first changed the option. The restart had no effect for me. Maybe a Vista issue?
Title: Re: CheckBox Control Caption Color
Post by: David Kenny on January 07, 2009, 12:15:27 PM
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