>I know its trivial but its really irritating.
>
>I can change the background color or the foreground color, but whatever I do, the color of the actual box in a checkbox remains stubbornly white.
>
>Any solution?
>
>Thanks
>
>Harry
Hi Harry,
If all else fails, I've got a technique which gives the developer the ultimate flexibility in check boxes. I needed a checkbox which displays differently to indicate NULL value in field (as opposed to the lame disabled checked box that VFP provides) so I did the following:
1) Created three bitmap images in image edit. One was an empty box, another was the same box with a big red checkmark in it and the third was a grayed out empty box.
2) I then created a container class which referenced the value in the field it was bound to (indicated by a property of the class) and displayed the proper bitmap.
3) I also had to write code in the click event to replace the value in the field and display the other bitmap (checked or unchecked).
4) Lastly, I wrote a method for the rightclick to replace the field with NULL and display the appropriate NULL checkbox.
All the above was contained in a class so I was able to drop it onto any form, set the boundfield property (or whatever you want to call it) and I've got my very own customized checkbox.
Hope this helps!!
-JT
Jeff Trockman, MCP