Results 1 to 3 of 3

Thread: masked edit box

  1. #1

    Thread Starter
    Hyperactive Member PJB's Avatar
    Join Date
    Aug 2000
    Location
    dunno at the moment
    Posts
    302
    I've got a masked edit box on my form, i want the user to be able to enter a currency value but i don't know if the value will be $.50,$5.00, $500, or $5,000, is there a way i can make the masked edit control put any of them in the proper format depending on input???
    VB6.0 SP4
    Windows 2000
    I'm thinking of a number between

  2. #2
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    if your mask is set to include the . then it should do
    it.
    ie
    MaskEDBox1.mask = "$###,###.00"
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  3. #3

    Thread Starter
    Hyperactive Member PJB's Avatar
    Join Date
    Aug 2000
    Location
    dunno at the moment
    Posts
    302
    your right, it does, i had to change the settings for my database field before it would accept it though
    VB6.0 SP4
    Windows 2000
    I'm thinking of a number between

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