Intercepting Click in Background of Table View
Intercepting Click in Background of Table View
- Subject: Intercepting Click in Background of Table View
- From: Seth Willits <email@hidden>
- Date: Thu, 7 Jul 2005 23:13:27 -0700
Is there a way to determine whether the user clicked on the
background of a table view? I have an application where when the
header of a column is selected, two buttons change to be context-
sensitive (from row to column depending on which is selected - four
buttons is just way too cluttered). The problem is, if there are now
rows in the table, the only way to deselect the column is to command
click the header which isn't very obvious at all.
So what I want to do is know when the user clicked on the background
of the table view (in the blank content area) so I can then deselect
the column (just like how it works if a row is selected). I can
clearly intercept mouseDown by overriding it in a subclass, but
that's too low level, but there's nothing higher than that I can see
that would help me.
Any ideas?
--
Seth Willits
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden