Re: transparent NSTextView
Re: transparent NSTextView
- Subject: Re: transparent NSTextView
- From: Hok Chun So <email@hidden>
- Date: Thu, 22 Aug 2002 12:55:20 +0800
Dear all,
I tried the following code in awakeFromNib method:
[textView setDrawsBackground:NO];
[textView setNeedsDisplay:YES];
The background of textView is still white. It's not transparent. Where
did I do wrongly?
Thank you for your help.
Bill
On Thursday, August 22, 2002, at 04:46 am, John C. Randolph wrote:
On Wednesday, August 21, 2002, at 12:00 AM, Hok Chun So wrote:
Dear all,
Could u tell me how to make the background of a NSTextView transparent?
NSTextView *myText;
...
[myText setDrawsBackground:NO];
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
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.
_______________________________________________
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.