Results 1 to 2 of 2

Thread: Problem with Mask EditControl

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2005
    Posts
    105

    Problem with Mask EditControl

    Hi All,

    I use Mask EditControl in my project to ensuere the date format is "dd/mm/yyyy"

    I set the mask property as "##/##/####".

    But whenever I change the date seprator form (/) into other like (-) from Control Panel > Regional settings, my program shows error saying invalid use of property.
    How can I solve this problem prgramatically. Because all the system may not have with (/) date seperator.

    expecting help

    Nasreen
    Last edited by nasreen; Mar 27th, 2012 at 01:23 AM.

  2. #2
    Frenzied Member moinkhan's Avatar
    Join Date
    Jun 2000
    Location
    Karachi, Pakistan
    Posts
    2,011

    Re: Problem with Mask EditControl

    Quote Originally Posted by nasreen
    Hi All,

    I use Mask EditControl in my project to ensuere the date format is "dd/mm/yyyy"

    I set the mask property as "##/##/####".

    But whenever I change the date seprator form (/) into other like (-) from Control Panel > Regional settings, my program shows error saying invalid use of property.
    How can I solve this problem prgramatically. Because all the system may not have with (/) date seperator.

    expecting help

    klari

    can you post the code where the error occurs?

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