how to append tool bar.....?

Discussion in 'Mac Programming' started by rethish, Nov 14, 2008.

  1. rethish macrumors member

    Joined:
    Oct 16, 2008
    #1
    In my cocoa application I use a bordered scroll view cell . I need to attach a formatting toolbar (for performing text formatting) on the top of that that cell , so that i can easily format the text by a single click on the contol of that toolbar. Is this possible? How it can be done ?
    I use objective-c , xcode and IB.


    please help....
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    Create a toolbar item using NSToolbarShowFontsItemIdentifier and set its target to [NSFontManager sharedFontManager] and set its action to orderFrontFontPanel:
     

Share This Page