• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Question on NSScrollView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question on NSScrollView


  • Subject: Re: Question on NSScrollView
  • From: Varun Chandramohan <email@hidden>
  • Date: Thu, 01 May 2014 22:16:24 +0000
  • Thread-topic: Question on NSScrollView

Thanks a lot. I did implement it and everything seems to be working fine.
Although I did see one major issue. When I used arrayController on the
same table I used get my entries in white background and when clicked on
gets highlighted in blue. However this is not the case with the same table
populated manually using NSPasteboardReading and NSTableViewDataSource,
NSTableViewDelegate. I noticed a grey background to all the entries to the
table. This is weird as I did not change any properties in the textField
to get this colour. The example of this is http://snag.gy/0m8xi.jpg. Does
anyone know why this is happening and how to get rid of this?

Regards,
Varun

On 30/04/2014 12:40 pm, "Graham Cox" <email@hidden> wrote:

>
>On 30 Apr 2014, at 12:20 pm, Varun Chandramohan
><email@hidden> wrote:
>
>> Can someone tell me if NSScrollView can be extended to work like that?
>>Any suggestions?
>
>
>You don't want to extend or subclass NSScrollView. Instead just put a
>custom view inside it. You can set up drag and drop in any view - check
>out the NSDraggingDestination protocol.
>
>--Graham
>
>


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Question on NSScrollView
      • From: Quincey Morris <email@hidden>
  • Next by Date: Re: Question on NSScrollView
  • Next by thread: Re: Question on NSScrollView
  • Index(es):
    • Date
    • Thread