• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Sub or superscripts with IB buttons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sub or superscripts with IB buttons


  • Subject: Re: Sub or superscripts with IB buttons
  • From: Vince DeMarco <email@hidden>
  • Date: Mon, 18 Mar 2002 14:29:40 -0800

On Monday, March 18, 2002, at 01:26 PM, Chad Armstrong wrote:

Is it possible to create text with subscripts or superscripts with the buttons provided by the Interface Builder. I tried holding down the Shift+Open Apple and + sign to try and get a superscript, but no luck. Is this possible, or might I need to just use a button with an image on it?


Its possible but not in IB, if you want to do this in code you need to create a NSAttributedString with the text you want, and stuff that in a button in code.

Don't use an image.


vince
_______________________________________________
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.

References: 
 >Sub or superscripts with IB buttons (From: Chad Armstrong <email@hidden>)

  • Prev by Date: Re: Newbie with stupid question
  • Next by Date: Re: Accessing EJB's from Objective-C?
  • Previous by thread: Sub or superscripts with IB buttons
  • Next by thread: Re: Several questions on Objective C
  • Index(es):
    • Date
    • Thread