• 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
Dragging rows in TableView toggles checkboxes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dragging rows in TableView toggles checkboxes


  • Subject: Dragging rows in TableView toggles checkboxes
  • From: Dustin Wenz <email@hidden>
  • Date: Fri, 27 Apr 2007 17:17:42 -0500

I've run into this problem twice this year; and have no idea how to solve it properly.

Basically, I have a NSTableView with a column of NSSwitchButtons (check boxes). It looks good, and the user can click to toggle the buttons just fine. The problem occurrs when a user clicks on a checkbox, and then drags the mouse cursor over a checkbox in a different row, and then releases the mouse. The second checkbox is toggled, even though no mouse-down event occurred on it. This is really undesirable behavior, especially when I'm implementing a multiple-selection table, or in a table with drag-reordering of rows.

This problem can be seen in the sample code for DragNDropOutlineView, by drag-selecting rows in the checkbox column.

I haven't been able to find any mention of this behavior in the archives... Has anyone else run up against this?

	- .Dustin
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
    • [SOLVED] Dragging rows in TableView toggles checkboxes
      • From: Dustin Wenz <email@hidden>
  • Prev by Date: Show / hide menu bar according to mouse position
  • Next by Date: ANN: CamelBones 1.0.3
  • Previous by thread: Re: Show / hide menu bar according to mouse position
  • Next by thread: [SOLVED] Dragging rows in TableView toggles checkboxes
  • Index(es):
    • Date
    • Thread