M mypool Unregistered / Unconfirmed GUEST, unregistred user! 2005-06-29 #1 比如今天我放个DateTimePicker1,日期显示2005-06-29,等明天我打开,它还是2005-06-29 是否可以显示实时的日期??
M mypool Unregistered / Unconfirmed GUEST, unregistred user! 2005-06-29 #2 比如今天我放个DateTimePicker1,日期显示2005-06-29,等明天我打开,它还是2005-06-29 是否可以显示实时的日期??
L lczh8420 Unregistered / Unconfirmed GUEST, unregistred user! 2005-06-29 #3 可以的,但是要用程序控制. DateTimePicker1.date:= date;
A alh0909 Unregistered / Unconfirmed GUEST, unregistred user! 2005-06-29 #4 在窗体建立时加入一行代码: procedure TForm1.FormCreate(Sender: TObject); begin datetimepicker1.date:=date; //此处加入代码即可 end;
在窗体建立时加入一行代码: procedure TForm1.FormCreate(Sender: TObject); begin datetimepicker1.date:=date; //此处加入代码即可 end;
S sunyesy Unregistered / Unconfirmed GUEST, unregistred user! 2005-06-29 #6 datetimepicker1.date:=now;