|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi everybody,
I am facing a problem with Delphi and the TDateTimePiccker component. I place it on the form and i have also a TEdit Box.What i want is when i click on a date on the TDateTimePicker...that date to be shown in the edit box.Any ideas? Thanks Ismini |
|
#2
|
||||
|
||||
|
Hook to the OnChange event of the TDateTimePicker component like this:
Code:
procedure TForm1.DateTimePicker1Change(Sender: TObject); begin Edit1.Text := DateToStr(DateTimePicker1.Date); end;
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by Keath and KevinADC, superior perl programmers of the month |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Delphi Programming > TDateTimePicker in Delphi 6 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|