Backward delete constant?

Ask a Question related to Mac Programming, Design and Development.

  1. #1

    Default Backward delete constant?

    I'm trying to use the delete key (the one above carriage return on the
    keyboard), but all I find it in the NSEvent constant lists. The closest
    I come is "NSDeleteFunctionKey", but that turned out to be the key
    beneath the "help" key. It works, but it's not what I had in mind. The
    NSResponder class has a "- (void)deleteBackward:(id)sender" method, but
    I'm not sure how to implement it - nor am I sure it's what I'm looking
    for.

    Did I overlook it or is there something special about the backwards
    delete key? I tried just using "NSBackwardDeleteFunctionKey" and
    "NSBackwardsDeleteFunctionKey" but that didn't help.

    --
    C Lund, [url]www.notam02.no/~clund[/url]
    C Lund Guest

  2. Similar Questions and Discussions

    1. backward timestamp
      I am using simple record, but it is not recording properly, playback is showing still video, audio is running, at last moments video runs very fast...
    2. Backward compatibility between MX7 and CF 4.5.1 SP1
      Hello everybody, First of all I'm not ColdFusion expert, CF is just one part used on our GSM project. In near future we will change our old server...
    3. backward compatibility in 6.0
      The extended comparison chart provided by Adobe between Acrobat 6.0 standard and professional says that you can only create backward compatible pdfs...
    4. how buttons inside a MC go backward?
      Hi there! I?m programing 10 buttons inside a MC, each button moves the timeline to a desired frame, where there's a similar set of buttons to...
    5. Backward recovery
      Hi, How can I recovery backward using the online redologs or archive redologs. So I have not any backups and I want to produce the yesterday...
  3. #2

    Default Re: Backward delete constant?

    In <clund-FEDAD7.19072118082003@amstwist00.chello.com> C Lund wrote:
    > I'm trying to use the delete key (the one above carriage return on the
    > keyboard), but all I find it in the NSEvent constant lists. The
    > closest I come is "NSDeleteFunctionKey", but that turned out to be
    > the key beneath the "help" key. It works, but it's not what I had in
    > mind. The NSResponder class has a "- (void)deleteBackward:(id)sender"
    > method, but I'm not sure how to implement it - nor am I sure it's
    > what I'm looking for.
    >
    > Did I overlook it
    Yes, you did. It's called NSDeleteCharacter. m.

    --
    matt neuburg, phd = [email]matt@tidbits.com[/email], [url]http://www.tidbits.com/matt[/url]
    REALbasic: The Definitive Guide! 2nd edition!
    [url]http://www.amazon.com/exec/obidos/ASIN/0596001770/somethingsbymatt[/url]
    Subscribe to TidBITS. It's free and smart.
    matt neuburg Guest

  4. #3

    Default Re: Backward delete constant?

    In article <20030818112629462-0700@news.la.sbcglobal.net>,
    matt neuburg <matt@tidbits.com> wrote:
    > In <clund-FEDAD7.19072118082003@amstwist00.chello.com> C Lund wrote:
    > > I'm trying to use the delete key (the one above carriage return on the
    > > keyboard), but all I find it in the NSEvent constant lists. The
    > > closest I come is "NSDeleteFunctionKey", but that turned out to be
    > > the key beneath the "help" key. It works, but it's not what I had in
    > > mind. The NSResponder class has a "- (void)deleteBackward:(id)sender"
    > > method, but I'm not sure how to implement it - nor am I sure it's
    > > what I'm looking for.
    > >
    > > Did I overlook it
    >
    > Yes, you did. It's called NSDeleteCharacter. m.
    I still couldn't find it in NSEvent, so I did a search on it.
    Apparently, I didn't overlook it - I was looking in the wrong place.
    It's in the NSText class.

    --
    C Lund, [url]www.notam02.no/~clund[/url]
    C Lund Guest

  5. #4

    Default Re: Backward delete constant?

    In <clund-63DBD1.08433219082003@amstwist00.chello.com> C Lund wrote:
    >> > Did I overlook it
    >>
    >> Yes, you did. It's called NSDeleteCharacter. m.
    >
    > I still couldn't find it in NSEvent, so I did a search on it.
    > Apparently, I didn't overlook it - I was looking in the wrong place.
    With that sort of lawyerly bullshit nitpicking, you'd make a good
    American President. "It all depends on what your definition of is is." m.

    --
    matt neuburg, phd = [email]matt@tidbits.com[/email], [url]http://www.tidbits.com/matt[/url]
    REALbasic: The Definitive Guide! 2nd edition!
    [url]http://www.amazon.com/exec/obidos/ASIN/0596001770/somethingsbymatt[/url]
    Subscribe to TidBITS. It's free and smart.
    matt neuburg Guest

  6. #5

    Default Re: Backward delete constant?

    In article <20030819102411756-0700@news.la.sbcglobal.net>,
    matt neuburg <matt@tidbits.com> wrote:
    > In <clund-63DBD1.08433219082003@amstwist00.chello.com> C Lund wrote:
    > >> > Did I overlook it
    > >>
    > >> Yes, you did. It's called NSDeleteCharacter. m.
    > >
    > > I still couldn't find it in NSEvent, so I did a search on it.
    > > Apparently, I didn't overlook it - I was looking in the wrong place.
    >
    > With that sort of lawyerly bullshit nitpicking, you'd make a good
    > American President. "It all depends on what your definition of is is." m.
    Good god, calm down. He's not contradicting your or arguing, just adding
    information.
    Michael Ash Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139