[AccessD] Check Box Back Color

Bryan and Jane Fitzpatrick bryan.fitzpatrick at cyberone.com.au
Wed Jan 4 20:18:49 CST 2006


There is no Backcolor property for a checkbox, so it can't be done 
directly.  Two ways around it -

1.      Change the backcolor of the Checkbox's Label.

2.      Put a rectangle control behind the Checkbox and change the color 
of the rectangle.

Hope this helps.

Bryan

William Hindman wrote:

>...never found a way to do that ...but dependng upon your needs, you can use 
>a yes/no text box instead along with the wingdings font ...which means you 
>not only can set the bg color but the fg color and size it as well ...and 
>you can set the format property to change the bg color between -1 and 0 
>values ...and in XP and above you also get conditional formatting ...its 
>more work of course but that's the way of most good things in Access ...hth
>
>William
>
>----- Original Message ----- 
>From: "Joe Hecht" <jmhecht at earthlink.net>
>To: "'Access Developers discussion and problem solving'" 
><accessd at databaseadvisors.com>
>Sent: Wednesday, January 04, 2006 12:46 PM
>Subject: [AccessD] Check Box Back Color
>
>
>  
>
>>Thanks to those who turned me on to conditional formatting.
>>Excellent answer.
>>
>>
>>
>>I now need to be able to manipulate the back color of check
>>boxes depending on focus.
>>
>>
>>
>>Thanks again.
>>
>>
>>
>>Joe Hecht
>>
>>jmhecht at earthlink.net
>>
>>
>>
>>-- 
>>AccessD mailing list
>>AccessD at databaseadvisors.com
>>http://databaseadvisors.com/mailman/listinfo/accessd
>>Website: http://www.databaseadvisors.com
>>
>>    
>>
>
>
>  
>
-------------- next part --------------
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.12/220 - Release Date: 3/01/2006


More information about the AccessD mailing list