 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Luigi Puleio Guest
|
Posted: Thu Feb 23, 2006 11:03 am Post subject: Using TDateTime component... |
|
|
Hello everyone...
I'm using a TDateTime component in a project as dkDate...I've figured I
can select date from dropdown calendar. But if, for example, I
increment/decrement day by pressing up/down key it is true it should
increment automatically also month and year when I'm at end/first of
month/year?
If not, do you have a suggest about making incrementing/decrementing
real date when using UP/DOWN button?
You see, I've tried to implement OnKeyDown/OnKeyUp event but it doesn't
work really good because it fires an event internally which
increments/decrements too the single value....
Thanks a lot in advance.
Ciao,
Luigi |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Thu Feb 23, 2006 7:03 pm Post subject: Re: Using TDateTime component... |
|
|
"Luigi Puleio" <luigi.puleio (AT) areaweb (DOT) it> wrote in message
news:43fd85cd (AT) newsgroups (DOT) borland.com...
| Quote: | I'm using a TDateTime component in a project as dkDate...
I've figured I can select date from dropdown calendar.
|
Use a TDateTimePicker component for that.
| Quote: | But if, for example, I increment/decrement day by pressing
up/down key it is true it should increment automatically also
month and year when I'm at end/first of month/year?
|
If you are using a TDateTimePicker, then yes, that is true.
| Quote: | You see, I've tried to implement OnKeyDown/OnKeyUp event
but it doesn't work really good because it fires an event internally
which increments/decrements too the single value....
|
Please clearify. What EXACTLY are you having a problem with?
Gambit |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|