• 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: Buttons and others
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Buttons and others


  • Subject: Re: Buttons and others
  • From: Nathan Day <email@hidden>
  • Date: Fri, 17 May 2002 21:39:33 +0930

The best way to hide any view is to remove it, this is pretty easy since a view stores it's position and so when you add it back to the super view it will appear in the correct place, in objective-c remember to retain it before removing it since the super view will release it, I guess this doesn't apply in java. If you try to hide a view by moving it out of frame or something like that, you can run into problem due to it still being within the view hierarchy, a user can select some view by pressing the tab key for instance.

If you are looking to be flamed about hiding interface elements then search the archives, there has been plenty of flaming about this in the past ;)

On Friday, May 17, 2002, at 06:06 PM, Camron Levanger wrote:

Hello,

I've been going over the Cocoa API's and can't seem to find what would be the equivalent of :

button.setVisible(boolean);

(Java)

Sorry to post such a "newbie" question, and thanks for your help.
_______________________________________________
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.

References: 
 >Buttons and others (From: Camron Levanger <email@hidden>)

  • Prev by Date: Re: In Praise of the new O'Reilly Cocoa book
  • Next by Date: Re: copying immutable objects
  • Previous by thread: Buttons and others
  • Next by thread: Re: Buttons and others
  • Index(es):
    • Date
    • Thread