Re: Transparent NSTextField

2012-06-28 Thread Joel Norvell
ility. Has someone already succeeded in programming a totally transparent NSTextField, or shall I recourse to a CATextLayer instead? Thanks, Vincent ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator com

Re: Transparent NSTextField

2012-06-28 Thread Vincent Habchi
Le 28 juin 2012 à 18:30, Charlie Dickman <3tothe...@comcast.net> a écrit : > In IB you can set the "Draws Background" property to no (uncheck the box) or > send the NSTextField a SetDrawsBackground: NO message. Yep, but that’s working only for non-editable fields. In an editable field, I get a

Re: Transparent NSTextField

2012-06-28 Thread Charlie Dickman
as > the field is not editable (e.g. a label), everything is fine; but with an > editable field, I get a background fill. I imagine this is under the window > NSTextView responsibility. Has someone already succeeded in programming a > totally transparent NSTextField, or shall I re

Re: Transparent NSTextField

2012-06-28 Thread Vincent Habchi
> My next step (which is my way of saying I haven't tried it) would be to > investigate -[ windowWillReturnFieldEditor:toObject:], and > set the field editor's backgroundColor (it's in NSText) to the transparent > color. I'll do that, yes. Besides, I need to override the cursor to make it look

Re: Transparent NSTextField

2012-06-28 Thread Fritz Anderson
; NSTextView responsibility. Has someone already succeeded in programming a > totally transparent NSTextField, or shall I recourse to a CATextLayer instead? My next step (which is my way of saying I haven't tried it) would be to investigate -[ windowWillReturnFieldEditor:toObject:]

Transparent NSTextField

2012-06-28 Thread Vincent Habchi
succeeded in programming a totally transparent NSTextField, or shall I recourse to a CATextLayer instead? Thanks, Vincent ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the