1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

date picker

Discussion in 'TCC/LE Support' started by Andre Arpin, May 16, 2009.

  1. Andre Arpin

    Joined:
    Jun 28, 2008
    Messages:
    7
    Likes Received:
    0
    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
     

    Attached Files:

  2. Andre Arpin

    Joined:
    Jun 28, 2008
    Messages:
    7
    Likes Received:
    0
    Replace the original batch. The new version is much cleaner.

    Andre
     
  3. Andre Arpin

    Joined:
    Jun 28, 2008
    Messages:
    7
    Likes Received:
    0
    Added a new batch which uses the dialog as a subroutine
     

    Attached Files:

  4. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,277
    Likes Received:
    38
    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...?
     
  5. Andre Arpin

    Joined:
    Jun 28, 2008
    Messages:
    7
    Likes Received:
    0

    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
     

    Attached Files:

  6. Andre Arpin

    Joined:
    Jun 28, 2008
    Messages:
    7
    Likes Received:
    0
    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
     

    Attached Files:

  7. Eddie Frie

    Joined:
    Jan 10, 2013
    Messages:
    6
    Likes Received:
    0
    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)
     

Share This Page