date picker

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Jun 28, 2008
7
0
#1
The attach batch is a date picker could be easily integrated
Tested in tcc only
This purely experimental I merge my keyboard code with my calendar code and made this up in a couple of hours.
I could be pretty up but the basic idea is there. Modification should be added for country that start the week on Saturday.

First pass I may come with an updated version at a later date.

Andre

ps: To test just run the batch
 

Attachments

Jun 28, 2008
7
0
#5
It would be nice to disable or somehow hide the flashing cursor. SETDOS /S0:0 does it in a standalone console window, but doesn't seem to work in a Take Command tab...?

using
setdos /s:10
setdos /s:0
seem to work for both TCC and Take
thanks for the suggestion it looks a lot better

another problem solved is the foreground was modified by getdate
Using screen 0 0 removes this problem
 

Attachments

Jun 28, 2008
7
0
#6
This is hopefully a final version of this dialog.
I have allowed for different box style and not return a formated date.

The getdate.btm batch can be used directly or
used as a subroutine look at useGetDate.btm for examples.

Andre
 

Attachments

Jan 10, 2013
6
0
#7
I was looking to do this same but with added work weeks numbers. TCC already has a ready made comand that is faster call getdate. If you type >set dt=%@getdate[] you will get a calendar window which will return what ever day you click on. posting this years late makes me think the author knows this too but for anyone who stumbles on it in a search
-Eddie
(not speaking for my employer)