CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2004
    Posts
    339

    Question constraint the time format in the textfield

    I have a textfield for inputting time. I want to limit the user to enter the international time format only 00:00-23:59...any functions in C# can do it or how i can do it?

    Thank you

  2. #2
    Join Date
    Mar 2006
    Location
    Craiova, Romania
    Posts
    439

    Re: constraint the time format in the textfield

    Bogdan

    If someone helped you then please Rate his post and mark the thread as Resolved
    Please improve your messages appearance by using tags [ code] Place your code here [ /code]

  3. #3
    Join Date
    Oct 2005
    Location
    Islamabad, Pakistan
    Posts
    1,277

    Re: constraint the time format in the textfield

    In C# 2005 (.net 2.0) there is a new control Masked TextBox that supports a declarative syntax for accepting or rejecting user input.

    Article

  4. #4
    Join Date
    Mar 2004
    Posts
    339

    Re: constraint the time format in the textfield

    i still cannot figure out how to write the limitation after readling the given pages... can you suggest me some codes for hints?

    Thank you

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