Tooltips are kind of static

Just found out "Always Diplay Tooltips" flag in the IB. I think that refers to the "setAllowsToolTipsWhenApplicationIsInactive:YES" , turning that ON makes things work .. I don't know why it didn't work in the first case..

Thanks Chunk.

~Rajesh


On Feb 20, 2009, at 3:02 PM, Chunk 1978 wrote:

were you setting your tooltips in IB?  were they removed after you
subclassed your panel?

maybe try setting your tooltips programatically?  like:  [myButton
setToolTip:@"button tooltip"];

On Fri, Feb 20, 2009 at 8:19 AM, rajesh <[email protected]> wrote:
Forgot to mention this,
Panel has set of buttons , these buttons toolTip's values are bound to a
controller.

Tool tips showed up until I sub-classed the panel...

~Rajesh

On Feb 20, 2009, at 2:05 PM, rajesh wrote:

Hi all,

As the subject indicates
as a part of application's info panel doesn't become key window....

I tried with setAllowsToolTipsWhenApplicationIsInactive,
but it has no effect on the panel , tool tips doesn't appear ( where as If
I make the window "Key" window it does show up the tool tips)

Any help ?
am I missing any other flag to be set ?

NSPanel is in NIB file (sub-classed)

subclass part
-(void)awakeFromNib{
[self setAllowsToolTipsWhenApplicationIsInactive:YES];
}

-(BOOL)canBecomeKeyWindow
{
      return NO;
}

~Rajesh
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/rajesh%40vangennep.nl

This email sent to [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/ chunk1978%40gmail.com

This email sent to [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/rajesh%40vangennep.nl

This email sent to [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to