• 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: transparent NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: transparent NSTextView
      • From: Douglas Davidson <email@hidden>
    • Re: transparent NSTextView
      • From: Nico <email@hidden>
References: 
 >Re: transparent NSTextView (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: Combining Images with text for a TableView cell
  • Next by Date: What method to override to initialize fields on a form?
  • Previous by thread: Re: transparent NSTextView
  • Next by thread: Re: transparent NSTextView
  • Index(es):
    • Date
    • Thread