不行呀!
if dbdatetimepicker.ShowCheckBox=True then
begin
APPLICATION.MessageBox('请输入记录时间!','错误',mb_OK);
end;
不管输入不输入数据都有提示信息
if dbdatetimepicker.ShowCheckBox=false then
begin
APPLICATION.MessageBox('请输入记录时间!','错误',mb_OK);
end;
不管输入不输入数据都没有提示信息!!
请问怎么办呀!!