Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Nov 2001
    Location
    Brisbane, Queensland, Australia
    Posts
    330
    Thanks
    10
    Thanked 0 Times in 0 Posts

    use keypress to change character returned (Acc 97 sr2 on 95b)

    I have a time field that requires ([img]/forums/images/smilies/smile.gif[/img] as the seperator, but get complains about the arqwardness of using it. Can I set up a keypress code for the field so that when the keypad (.) is pressed, it is converted into ([img]/forums/images/smilies/smile.gif[/img]?
    "Heading for the deep end"

  2. #2
    Platinum Lounger
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    4,594
    Thanks
    0
    Thanked 27 Times in 27 Posts

    Re: use keypress to change character returned (Acc 97 sr2 on 95b)

    I would have thought you could define the Input mask of the control to be 99:00 and you would not need to even enter the separator at all.
    Pat <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16>

  3. #3
    3 Star Lounger
    Join Date
    Nov 2001
    Location
    Brisbane, Queensland, Australia
    Posts
    330
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Re: use keypress to change character returned (Acc 97 sr2 on 95b)

    <img src=/S/clapping.gif border=0 alt=clapping width=19 height=23> Thankyou! I normally think of input masks as limiting the input, not as being able to insert stuff for you as part of the criteria. <img src=/S/bash.gif border=0 alt=bash width=35 height=39> I'll get these concepts into my thick head yet! <img src=/S/confused.gif border=0 alt=confused width=15 height=20>
    "Heading for the deep end"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •