Subject Re: Can't change color of Check Box
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Thu, 23 Mar 2017 10:55:34 -0700
Newsgroups dbase.getting-started

On 3/23/2017 10:13 AM, Peter wrote:
> Peter Wrote:
>
>> Akshat Kapoor Wrote:
>>
>>> On 23/03/2017 22:24, Peter wrote:
>>>> Just a few days ago I upgraded to dBase Plus 11.1 from Vdb 7.01, with the help of a great sale.  Thank you, dBase.
>>>> However, I was trying to change the color of a CheckBox by opening the form in the Designer, then with the Inspector trying to change colorNormal  of the Checkbox to a different color combination.  No change shows up.
>>>> Your help would be appreciated.
>>>> Peter
>>>>
>>> In the inspector there is a property systemTheme
>>> Set it as False and color will change according to colornormal.
>>>
>>> Regards
>>> Akshat
>>>
>>>
>> Perfect!  Many thanks, as usual.
>> Peter
> One more thing.  Is there a place at the beginning of my program that I can
> set systemTheme to false?  Or to set that as default throughout dBase.

It looks like Akshat has given you a pretty thorough answer to this.
Custom controls/components are the way to go for a variety of reasons,
the biggest includes, as he notes, uniformity of appearance of your
controls. Colors, fonts, etc. This can also be useful for controls that
require specific code, something you use all the time.

There is a freeware library of code for dBASE, the dUFLP, that includes
a ton of custom controls as well (see the addresses in my signature
block below).

Ken


--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm