Re: ToolTips for Matrix Cells
Re: ToolTips for Matrix Cells
- Subject: Re: ToolTips for Matrix Cells
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Wed, 04 Dec 2013 12:50:17 +0700
On 4 Dec 2013, at 01:47, Jerry Krinock <email@hidden> wrote:
>
> On 2013 Nov 30, at 00:11, Gerriet M. Denkmann <email@hidden> wrote:
>
>> I have a Matrix containing ButtonCells. In IB I have set a ToolTip for each ButtonCell.
>> But when I hover the mouse over these cells, nothing is shown.
>>
>> When I set a tooltip for the matrix, it will be shown - but this is of no interest to me.
>>
>> Is there a way to show the ButtonCell-ToolTips?
>
> [...] you could try defining tool tip rects on the matrix. I think that would work. See -[NSView addToolTipRect:owner:userData:]
With some coding inside windowDidLoad this works quite nicely.
Thanks for this tip!
Kind regards,
Gerriet.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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