Delphi 复选框变灰并选中
Delphi Checkbox grayed and checked
我已经在 Delphi 工作了大约一个月了,所以我还是个新手。
当我更改数据字段时,我有一个变灰的复选框,只是想知道为什么会这样?
您的 TDBCheckBox 变灰是因为分配给它的数据字段的值与 ValueChecked 或 ValueUnchecked 不匹配 properties.From documentation
If the contents of the field matches no string in either ValueChecked
or ValueUnchecked, the check box appears gray.
我已经在 Delphi 工作了大约一个月了,所以我还是个新手。 当我更改数据字段时,我有一个变灰的复选框,只是想知道为什么会这样?
您的 TDBCheckBox 变灰是因为分配给它的数据字段的值与 ValueChecked 或 ValueUnchecked 不匹配 properties.From documentation
If the contents of the field matches no string in either ValueChecked or ValueUnchecked, the check box appears gray.