Re: Buttons and others
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.