Ładny brzuch

Witam
Jak w tym komponencie np po klikniciu np na Buttona wywietli tylko sekund, tylko minut lub tylko godzin?

Pozdr



ShowMessage(IntToStr(HourOf(DateTimePicker1.Time))); ShowMessage(IntToStr(MinuteOf(DateTimePicker1.Time))); ShowMessage(IntToStr(SecondOf(DateTimePicker1.Time)));lubprocedure TForm1.Button1Click(Sender: TObject); var s:string; begin DateTimeToString(s,'hh',DateTimePicker1.Time); ShowMessage(s); DateTimeToString(s,'nn',DateTimePicker1.Time); ShowMessage(s); DateTimeToString(s,'ss',DateTimePicker1.Time); ShowMessage(s); end;
Uytkownik Cyrkiel edytowa ten post 04 lipiec 2005, 00:30
Wielkie dziki, dziaa.

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • zsf.htw.pl
  •