Re: Binding SelectedText Background
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