Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tabs with embedded controls




On Jan 24, 2005, at 3:26 PM, Simon Peck wrote:

Hi there

I have a tab control (3 tabs) that has some button controls on the tab. When I put the buttons on the individual tab the events don't fire, but the tabs display correctly (buttons come & go with the tab). If I embed the buttons to the tab control itself, then the events fire but the buttons appear on all the tabs .

How do I get the events to work (main window/application event handler) for the controls when placed in the individual tabs?

There is a nice sample app to show you how to do this it is called SimpleTabControl. The nice thing is that it is very small so you don't have to wade thru thousands of lines of code to figure out how to use it. I think if you look at the sample it will answer your questions.


Mike

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Tabs with embedded controls (From: Simon Peck <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.