PDA

View Full Version : Tabbed documents




titaniumdecoy
Mar 17, 2008, 05:58 PM
Hi all,

I am writing a text editor for Mac OS X. I want the user to have the option of opening multiple documents in a single window using tabs (similar to tabbed browsing in Safari). Is there a standard way to do this, or open source code that is not overly complicated I could look at? I managed to get a limited implementation working but it required a lot of hacking.

Thanks for any input.



kainjow
Mar 17, 2008, 06:46 PM
There is no standard way of doing this. If you want a control to make it easier, check out PSMTabBarControl (http://www.positivespinmedia.com/dev/PSMTabBarControl.html), but you will need to code everything else on your own :)