Articles 3D Audio Custom Controls General RB Graphics Hacks Mac OS X Menus Novelty Printing REALbasic 2005 REALbasic 2006 Registration Resources Reviews Serial Speech Sockets XML Video Resource Links News Current News February 2006 January 2006 December 2005 November 2005 October 2005 September 2005 August 2005 July 2005 June 2005 May 2005 April 2005 March 2005 ![]() REALbasic for Dummies by Erick Tejkowski ![]() Learning REALbasic through Applications REALbasic for Macintosh REALbasic Cross-Platform Application Development
Older files are in Stuffit 5 or greater format. Newer files are ".Zip". Download StuffIt Expander |
|
I haven't quite finished the splitter control yet, but in the mean time, I wrote a quick project showing how to construct a proper (as of 10.4) preferences window. New in this version as opposed to the ooold one I did several years ago, is mainly the toolbar items actually being able to be selected. Now, this ONLY works in Mac OS X 10.4. Yes, sorry guys and gals, but it wasn't in Carbon in 10.3 even though Cocoa could do it. The good news is it does gracefully fail! Your users will never know the difference except they won't actually see the selection on the item.
Setup
When the window opens, images are assigned to the toolbar items (since they're loaded with masks from disk) and the default values for the different properties for the window and panel are assigned in the window open even, selecting the first preference view.
When and item is clicked on, it's selected with the call to me.SelectItem a method extension in the OSXPreferences module in the project.
Finished
|
||||
|
||||||||||||||||||||||||||||||||
Maintained by the Staff of ResExcellence. This entire site ©1997-2006 ResExcellence
Privacy Statement? Sure we gotta Privacy Statement.
[an error occurred while processing this directive]