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

Re: Transparent NSTextField


  • Subject: Re: Transparent NSTextField
  • From: Vincent Habchi <email@hidden>
  • Date: Thu, 28 Jun 2012 17:56:51 +0200

> My next step (which is my way of saying I haven't tried it) would be to investigate -[<NSWindowDelegate> 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 like an underscore _ (the whole point is to make the input field look like a vintage console editing field).

I guess I'll not escape writing a custom NSTextView to serve as the window field editor.

Thanks for the hint!
Vincent


_______________________________________________

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

  • Prev by Date: Re: Transparent NSTextField
  • Next by Date: Re: Transparent NSTextField
  • Previous by thread: Re: Transparent NSTextField
  • Next by thread: Re: Transparent NSTextField
  • Index(es):
    • Date
    • Thread