• 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: NSView setVisible: method -- NOT
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSView setVisible: method -- NOT


  • Subject: Re: NSView setVisible: method -- NOT
  • From: Daryn <email@hidden>
  • Date: Sun, 30 Mar 2003 23:32:33 -0600

Visibility in Cocoa can effectively be controlled via [view removeFromSuperview] and [superview addSubview:view].

On Sunday, March 30, 2003, at 08:50 PM, Jeffrey Mattox wrote:

How come AppleScript has a "visible" property for a view that can be set true/false, but there are no setVisible:(BOOL)flag or isVisible methods in Cocoa for NSView?

If I do this in AS:

set visible of text field "test" to false

(which set's the NSTextFiled's view to invisible), how do I set it true in Cocoa?

Jeff
_______________________________________________
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.


Daryn
_______________________________________________
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: NSView setVisible: method -- NOT
      • From: Henry McGilton <email@hidden>
References: 
 >NSView setVisible: method -- NOT (From: Jeffrey Mattox <email@hidden>)

  • Prev by Date: Re: Rendering an NSControl into a NSImage?
  • Next by Date: Re: question about bundle app
  • Previous by thread: Re: NSView setVisible: method -- NOT
  • Next by thread: Re: NSView setVisible: method -- NOT
  • Index(es):
    • Date
    • Thread