Results 1 to 5 of 5

Thread: Box for entering time HH:MM

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 1999
    Location
    Littlehampton, W Sussex GB
    Posts
    203

    Post

    There must be a simple way to get the user to enter a valid time - like the date picker only for time? Basic question I know but haven't seen one and someone must know!

  2. #2
    Guest

    Post

    Use the Masked Editbox, its under the list of components.
    Microsoft Masked Editbox (or something like that).



    ------------------

    Vincent van den Braken
    EMail: [email protected]
    ICQ: 15440110
    Homepage: http://www.azzmodan.demon.nl




  3. #3

    Thread Starter
    Addicted Member
    Join Date
    May 1999
    Location
    Littlehampton, W Sussex GB
    Posts
    203

    Post

    Thanks, I've discovered the DTpicker has a time but don't know how to get rid of seconds?

  4. #4
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105

    Post

    Look into the CustomFormat property...

  5. #5
    Hyperactive Member
    Join Date
    Nov 1999
    Location
    Columbia, SC USA
    Posts
    374

    Post

    On the DT's property pages, select
    3-dtpCustom for the style and set the custom properties to HH.mm

    You might want to double-check the "mm" part of that because the picker has the custom values MM and mm, with one being Month and the other being Minute. I think minute is "mm" but I would not swear to it and don't have VB in front of me right now



    ------------------
    Andrew Nerney
    Hapless Programmer
    [email protected]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width