• 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: Binding SelectedText Background
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binding SelectedText Background


  • Subject: Re: Binding SelectedText Background
  • From: Keary Suska <email@hidden>
  • Date: Tue, 1 Jun 2010 14:25:28 -0600

On Jun 1, 2010, at 11:18 AM, Erick Pérez wrote:

> Hi:
> I manage to bind the text color to a color well, one of those many
> tutorials you can find online, but what i want is to change the color
> of the selected text's background. Can i bind that ?

Bookmark this page: http://developer.apple.com/mac/library/documentation/Cocoa/Reference/CocoaBindingsRef/CocoaBindingsRef.html . It tells you everything you can bind for all Cocoa views.

You will notice that you can't. Notice that you generally can only bind values that effect the entire view/control. I believe what you are after can be specified using an NSParagraphStyle, but not via bindings.

HTH,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Binding SelectedText Background
      • From: Ross Carter <email@hidden>
References: 
 >Binding SelectedText Background (From: Erick Pérez <email@hidden>)

  • Prev by Date: Re: Base64 encoding (iPhone)
  • Next by Date: Re: font glyphs on different hardware
  • Previous by thread: Binding SelectedText Background
  • Next by thread: Re: Binding SelectedText Background
  • Index(es):
    • Date
    • Thread