CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: MaskEdBox

  1. #1
    Join Date
    Dec 1999
    Location
    Portugal
    Posts
    2

    MaskEdBox

    Hi...

    I would like to know where can I get a more advanced and complete control (or code) than MaskEdBox. I'd like to use it for inputing dates in dd-mm-yyyy format but I need to know each value separatly and "navigate" throught these values with the Tab key!
    Is it possible?

    Best Regards
    Pedro Pereira



  2. #2
    Guest

    Re: MaskEdBox

    Well, as far as the Tabbing through each part, I don't know. But if you need to know a particular part of a date try using the function DatePart. For example:

    DatePart("m",Now) returns 12
    'Where "m" represents the part of the date you want to determine, and where Now is the date you want to examine.

    DatePart("d",Now) returns 13
    DatePart("yyyy",Now) returns 1999


  3. #3
    Join Date
    Dec 1999
    Location
    Curitiba - Paraná - Brazil
    Posts
    6

    Re: MaskEdBox

    A better control than MaskEditBox to work with dates it's the DTPicker, member of Microsoft Common Controls-2 6.0 it provides a nice control of dates.


    Vanclei Matheus
    [email protected]
    Techno Dreamer

  4. #4
    Join Date
    Dec 1999
    Location
    Portugal
    Posts
    2

    Re: MaskEdBox

    I see... I like the functionality of this control for the time but not the date. It's that functionality I'm looking for but for dates!

    Thanks for the help.
    Pedro Pereira


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

Featured