楼上的能不能说详细点呀!!谢谢了 if dbdatetimepicker.ShowCheckBox=True then 是这样吗??
不行呀! if dbdatetimepicker.ShowCheckBox=True then begin APPLICATION.MessageBox('请输入记录时间!','错误',mb_OK); end; 不管输入不输入数据都有提示信息 if dbdatetimepicker.ShowCheckBox=false then begin APPLICATION.MessageBox('请输入记录时间!','错误',mb_OK); end; 不管输入不输入数据都没有提示信息!! 请问怎么办呀!!
宠辱不惊,看庭前花开花落,去留无意;毁誉由人,望天上云卷云舒,聚散任风。
—————————————————————————————————
if dbdatetimepicker.ShowCheckBox=True then
是这样吗??
if dbdatetimepicker.ShowCheckBox=True then
begin
APPLICATION.MessageBox('请输入记录时间!','错误',mb_OK);
end;
不管输入不输入数据都有提示信息
if dbdatetimepicker.ShowCheckBox=false then
begin
APPLICATION.MessageBox('请输入记录时间!','错误',mb_OK);
end;
不管输入不输入数据都没有提示信息!!
请问怎么办呀!!
判断为dbdatetimepicker.Check=true