• 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: Mouse events inside a cell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mouse events inside a cell


  • Subject: Re: Mouse events inside a cell
  • From: Jay Vaughan <email@hidden>
  • Date: Mon, 3 Jun 2002 18:44:55 +0200

Are you sure you want the cell object to perform some task, or do
you need another object to respond to the mouse click? It appears a
lot of you out there are getting confused between intercepting mouse
clicks, which typically is rarely needed, and having the mouse click
send an action, as when clicking a button or even a cell.

I made the same observation as you, while lurking on this list - there has been a recurring thread on this issue - I'm just wondering if the reason for this is because TableView's are being used as the basis for some of the game editors people have also mentioned on this list?

For custom drawing in the cell, wouldn't receiving the mouse events directly be necessary?

As a relative newcomer to Obj-C/OSX controls, I'm quite curious about subclassing NSCell's for custom GUI elements (-*).

If I'm using NSCell's as the basis for new custom controls which are inherently, 'griddable' controls, wouldn't it be better to get the events directly, rather than going through the whole Action chain?

(*- if anyone has any pointers to custom control code, projects, articles, or books, which detail ways to make standard custom GUI controls using Aqua, please post details. I ditched a *lot* of custom controls in my old Delphi work, I'd like to get up to speed on how its done under ObjC/OSX as quickly as possible...)

--
j.
--
Jay Vaughan
Systems Engineer
Access Music http://www.access-music.de/
>> music technology ...
_______________________________________________
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.

  • Follow-Ups:
    • Re: Mouse events inside a cell
      • From: Anthony Arthur <email@hidden>
    • Pagination
      • From: Dix Lorenz <email@hidden>
References: 
 >Re: Mouse events inside a cell (From: Anthony Arthur <email@hidden>)

  • Prev by Date: Re: File Size in Cocoa/Java - Resource and data fork
  • Next by Date: Re: MallocDebug problem
  • Previous by thread: Re: Mouse events inside a cell
  • Next by thread: Pagination
  • Index(es):
    • Date
    • Thread