mouseUp: in TableView on Leopard

  • Hello,

    I have been having my NSTableView subclass have it's own mouseUp:
    method, and it was called consistently on 10.4 and 10.3. On 10.5,
    however, it is rarely called. I checked the documentation for it and
    it doesn't note any changes in the update. The mouseDown: appears to
    be working fine. Any help would be appreciated.

    Thanks,
    Mitch Livingston
  • Hi Mitch,

    *when* are you expecting it to be called? In NSTableView's mouseDown,
    it has always created a loop where it processed events. The mouse
    logic has changed a bit to accommodate new features and bug fixes.

    --corbin

    On Oct 27, 2007, at 8:54 PM, Mitchell Livingston wrote:

    > Hello,
    >
    > I have been having my NSTableView subclass have it's own mouseUp:
    > method, and it was called consistently on 10.4 and 10.3. On 10.5,
    > however, it is rarely called. I checked the documentation for it and
    > it doesn't note any changes in the update. The mouseDown: appears to
    > be working fine. Any help would be appreciated.
    >
    > Thanks,
    > Mitch Livingston
  • I'm expecting it to be called when I release the mouse button. Should
    I be doing something else?

    On Monday, October 29, 2007, at 12:07PM, "Corbin Dunn" <corbind...>
    > wrote:
    > Hi Mitch,
    >
    > *when* are you expecting it to be called? In NSTableView's mouseDown,
    > it has always created a loop where it processed events. The mouse
    > logic has changed a bit to accommodate new features and bug fixes.
    >
    > --corbin
    >
    > On Oct 27, 2007, at 8:54 PM, Mitchell Livingston wrote:
    >
    >> Hello,
    >>
    >> I have been having my NSTableView subclass have it's own mouseUp:
    >> method, and it was called consistently on 10.4 and 10.3. On 10.5,
    >> however, it is rarely called. I checked the documentation for it and
    >> it doesn't note any changes in the update. The mouseDown: appears to
    >> be working fine. Any help would be appreciated.
    >>
    >> Thanks,
    >> Mitch Livingston
    >
  • TableView will consume the mouse events when tracking from mouseDown.
    You should use the "tracking" class of methods in the NSCell, or the -
    action/-doubleAction for NSTableView if you want to respond to a click
    or double click.

    --corbin

    On Oct 29, 2007, at 3:00 PM, Mitchell Livingston wrote:

    > I'm expecting it to be called when I release the mouse button.
    > Should I be doing something else?
    >
    > On Monday, October 29, 2007, at 12:07PM, "Corbin Dunn" <corbind...>
    >> wrote:
    >> Hi Mitch,
    >>
    >> *when* are you expecting it to be called? In NSTableView's mouseDown,
    >> it has always created a loop where it processed events. The mouse
    >> logic has changed a bit to accommodate new features and bug fixes.
    >>
    >> --corbin
    >>
    >> On Oct 27, 2007, at 8:54 PM, Mitchell Livingston wrote:
    >>
    >>> Hello,
    >>>
    >>> I have been having my NSTableView subclass have it's own mouseUp:
    >>> method, and it was called consistently on 10.4 and 10.3. On 10.5,
    >>> however, it is rarely called. I checked the documentation for it and
    >>> it doesn't note any changes in the update. The mouseDown: appears to
    >>> be working fine. Any help would be appreciated.
    >>>
    >>> Thanks,
    >>> Mitch Livingston
    >>
previous month october 2007 next month
MTWTFSS
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        
Go to today