Delphi Checkbox grayed and checked

1.7k Views Asked by At

I have been working with Delphi for about a month now so I'm relatively new. I have a checkbox that greys out when I change the data field just want to know why that might be?

1

There are 1 best solutions below

1
RBA On BEST ANSWER

Your TDBCheckBox is grayed because the value of the datafield assigned to it does not match ValueChecked or ValueUnchecked properties.From documentation

If the contents of the field matches no string in either ValueChecked or ValueUnchecked, the check box appears gray.