FROM : Michael Heinz
DATE : Thu Nov 04 23:46:15 2004
Well, I appreciate the help, but the only other UI elements are a
couple of push buttons, so I don't know what else could be capturing
the key strokes.
I don't know what good a category method would do since there doesn't
seem to be any programmatic way to scroll a scroll view!
On Nov 4, 2004, at 4:58 PM, The Karl Adam wrote:
> Add a category that then implements them in the way you want. Also I
> do believe that what you are suggesting works without any special
> code, I think you might need to instead check whether they are
> actually getting your arrow up/down events of if something else on the
> responder chain is using them before they get to your Scroll View.
>
>
> On Wed, 3 Nov 2004 21:06:10 -0500, Michael Heinz
> <<email_removed>> wrote:
>> I'd like to map the arrow keys to scroll around in an NSScrollView;
>> but
>> I can't find anything on that subject in the documentation. In fact,
>> NSScrollView doesn't even seem to implement the scrollLineUp and
>> scrollLineDown methods.
>>
>> Any suggestions on how to handle this?
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Cocoa-dev mailing list (<email_removed>)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/cocoa-dev/karl.<email_removed>
>>
>> This email sent to karl.<email_removed>
>>
DATE : Thu Nov 04 23:46:15 2004
Well, I appreciate the help, but the only other UI elements are a
couple of push buttons, so I don't know what else could be capturing
the key strokes.
I don't know what good a category method would do since there doesn't
seem to be any programmatic way to scroll a scroll view!
On Nov 4, 2004, at 4:58 PM, The Karl Adam wrote:
> Add a category that then implements them in the way you want. Also I
> do believe that what you are suggesting works without any special
> code, I think you might need to instead check whether they are
> actually getting your arrow up/down events of if something else on the
> responder chain is using them before they get to your Scroll View.
>
>
> On Wed, 3 Nov 2004 21:06:10 -0500, Michael Heinz
> <<email_removed>> wrote:
>> I'd like to map the arrow keys to scroll around in an NSScrollView;
>> but
>> I can't find anything on that subject in the documentation. In fact,
>> NSScrollView doesn't even seem to implement the scrollLineUp and
>> scrollLineDown methods.
>>
>> Any suggestions on how to handle this?
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Cocoa-dev mailing list (<email_removed>)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/cocoa-dev/karl.<email_removed>
>>
>> This email sent to karl.<email_removed>
>>
| Related mails | Author | Date |
|---|---|---|
| Michael Heinz | Nov 4, 03:06 | |
| The Karl Adam | Nov 4, 22:58 | |
| Michael Heinz | Nov 4, 23:46 | |
| The Karl Adam | Nov 4, 23:57 |






Cocoa mail archive

