Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

date picker

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

  • dCal.btm
    7 KB · Views: 230
Added a new batch which uses the dialog as a subroutine

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...?
 
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

  • getDate.btm
    7.5 KB · Views: 225
  • useGetDate.btm
    150 bytes · Views: 216
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

  • useGetDate.btm
    319 bytes · Views: 229
  • getDate.btm
    8 KB · Views: 225
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)
 
Back
Top