Re: The best way to hide views.
Re: The best way to hide views.
- Subject: Re: The best way to hide views.
- From: publiclook <email@hidden>
- Date: Sat, 22 Mar 2003 14:08:36 -0500
I know that hiding views has been discussed may times in this forum.
Why are people wanting to hide views rather than disabling them or
putting them in collapsed split views or tab views or drawers ?
What are the issues ?
Why is programatically hiding a view considered better than using one
of the built-in almost no code required techniques ?
On Saturday, March 22, 2003, at 08:32 AM, Koen van der Drift wrote:
Does anybody have any good ideas that do not involve moving it outside
the viewing area of the window? (the view is being
repositioned/resized
as its hidden so the move away solution would not be the best).
One thing I once did to hide a button is set its frame size to zero:
[myView setFrameSize: NSZeroSize];
Not sure if that will work in your situation.
- Koen.
_______________________________________________
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.