MASK

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • spaulsamin@yahoo.co.in

    #1

    MASK

    Hi seniors

    How to define mask of normal textbox control without using
    richtext box or maskedit box or anyother controls

    eg: when i type 9999999 it should mask 999-9999

    pls explain with sample


    thank you

  • Cor Ligthert [MVP]

    #2
    Re: MASK

    You cannot in a usable way, why you tink that they made the masked textbox.
    For fun?

    Cor

    <spaulsamin@yah oo.co.inschreef in bericht
    news:1173590152 .141188.75860@6 4g2000cwx.googl egroups.com...
    Hi seniors
    >
    How to define mask of normal textbox control without using
    richtext box or maskedit box or anyother controls
    >
    eg: when i type 9999999 it should mask 999-9999
    >
    pls explain with sample
    >
    >
    thank you
    >

    Comment

    • Heikki Leivo

      #3
      Re: MASK

      How to define mask of normal textbox control without using
      richtext box or maskedit box or anyother controls
      Write an inherited class from TextBox and implement masking by yourself.

      Oh, wait... Someone might already have done it for you. Hence the MaskEdit
      box.


      Comment

      • PFC Sadr

        #4
        Re: MASK

        this was possible in MS Access--- but then again; VB 2005 isn't HALF
        as powerful as Access

        Visual Fred _SUCKS_





        On Mar 10, 10:15 pm, spaulsa...@yaho o.co.in wrote:
        Hi seniors
        >
        How to define mask of normal textbox control without using
        richtext box or maskedit box or anyother controls
        >
        eg: when i type 9999999 it should mask 999-9999
        >
        pls explain with sample
        >
        thank you

        Comment

        • Chris Dunaway

          #5
          Re: MASK

          On Mar 11, 12:15 am, spaulsa...@yaho o.co.in wrote:
          Hi seniors
          >
          How to define mask of normal textbox control without using
          richtext box or maskedit box or anyother controls
          >
          eg: when i type 9999999 it should mask 999-9999
          >
          pls explain with sample
          >
          thank you
          Why don't you want to use a masked edit box? That's what it was
          designed for!


          Comment

          Working...