Re: Checking when tabs are selected
Re: Checking when tabs are selected
- Subject: Re: Checking when tabs are selected
- From: "Clark S. Cox III" <email@hidden>
- Date: Wed, 18 Jun 2003 11:55:04 -0400
On Tuesday, Jun 17, 2003, at 16:56 US/Eastern, Chad Armstrong wrote:
How is it possible to check when an application with several tabs
(NSTabView or NSTabViewItem) have been selected so the application can
respond, such as resizing the window? Do I need to deal with one of
the built in responders?
Read the documentation:
file:///System/Library/Frameworks/AppKit.framework/Versions/C/
Resources/English.lproj/Documentation/Reference/ObjC_classic/Classes/
NSTabView.html
Basically, you implement:
- (void)tabView:(NSTabView *)tabView
didSelectTabViewItem:(NSTabViewItem *)tabViewItem
{
}
on the NSTabView's delegate. It will be called whenever a tab is
selected.
--
http://homepage.mac.com/clarkcox3/
email@hidden
Clark S. Cox, III
_______________________________________________
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.