• 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: detecting drag in table column ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: detecting drag in table column ?


  • Subject: Re: detecting drag in table column ?
  • From: Jonathan Jackel <email@hidden>
  • Date: Fri, 27 Sep 2002 11:41:28 -0400

The short answer is no, but maybe a workaround is
NSTableViewColumnDidMoveNotification. It sends a userinfo dictionary with
the old and new column indexes. If you want to prevent certain columns from
being dragged, you could send them back where they came from with this info.
Not ideal, admittedly.

Jonathan

on 9/27/02 8:48 AM, Robert Miller at email@hidden wrote:

> Hello,
>
> Does anyone know if there is a way to detect a drag in a table column
> before or while it happens ? That is some thing like
> 'didDragTableColumn' but only 'willDragTableColumn' ? or
> 'isDraggingTableColumn' ? is it possible to somehow detect these
> conditions ? i tried subclassing NSTableHeaderView and
> NSTableHeaderCell but neither seem to behave as expected.
>
> Thanks in advance for any info.
> Regards,
> Bob M.
> _______________________________________________
> cocoa-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >detecting drag in table column ? (From: Robert Miller <email@hidden>)

  • Prev by Date: Brain Fade with NSView layout
  • Next by Date: [Q]mouseDown: in TV (was Re: Menu when click on table cell)
  • Previous by thread: detecting drag in table column ?
  • Next by thread: Help with window design
  • Index(es):
    • Date
    • Thread