سؤال

I would like to track a mouseover event of a NSCell in a NSMatrix. The documents say I can set the NSMatrix mode to NSTrackModeMatrix and the cell will be sent the message trackMouse:inRect:ofView:untilMouseUp: when the mouse is within the bounds of the cell, however this message is only sent to the cell when I click on the cell. I am misinterpreting the docs? If so is there another way I can use to track a mouseover event?

Thanks

هل كانت مفيدة؟

المحلول

try mouseEntered:, mouseMoved:, mouseMoved: etc.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top