Regular expression time

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • thorgal

    #1

    Regular expression time

    Hello,

    I'm trying to create a textbox with a regular expression for time.

    I was wondering if it was possible to create a textbox that has a regular
    expression like this: 00h00m and that the "h" and "m" can't be changed or
    deleted.

    thanks in advance.


  • Spam Catcher

    #2
    Re: Regular expression time

    "thorgal" <declerck_peter @yahoo.Comwrote in
    news:eFbHYsIOHH A.4100@TK2MSFTN GP04.phx.gbl:
    Hello,
    >
    I'm trying to create a textbox with a regular expression for time.
    >
    I was wondering if it was possible to create a textbox that has a
    regular expression like this: 00h00m and that the "h" and "m" can't
    be changed or deleted.
    >
    thanks in advance.
    There is a masked text box... that might work for what you need

    Comment

    • thorgal

      #3
      Re: Regular expression time

      Is there a masked textbox in VB.NET 2003 and how do i have to use it then?


      "Joel" <Joel@discussio ns.microsoft.co mschreef in bericht
      news:797F55E7-896E-4907-AE24-4BD07F294085@mi crosoft.com...
      use a MaskedEdit Tetbox where the h and m are literals
      >
      "thorgal" wrote:
      >
      >Hello,
      >>
      >I'm trying to create a textbox with a regular expression for time.
      >>
      >I was wondering if it was possible to create a textbox that has a regular
      >expression like this: 00h00m and that the "h" and "m" can't be changed
      >or
      >deleted.
      >>
      >thanks in advance.
      >>
      >>
      >>

      Comment

      Working...