Re: Hiding views
Re: Hiding views
- Subject: Re: Hiding views
- From: Stéphane Sudre <email@hidden>
- Date: Mon, 2 Jun 2003 08:50:20 +0200
On lundi, juin 2, 2003, at 07:14 AM, Anil R wrote:
Hi,
I'm having a very specific problem. I wanted to know is there any way
to hide custom views dynamically. I'm
trying to implement something feature similar to iPhoto. When I
navigate through the "import,organize" buttons, the bottom view
chages. How to implenment similar featues. In Cocoa, how to
enable/disable or "send to back/send to front " views. Can anybody
help me in this
You can enable/disable Controls. There is no way for instance to
disable a NSBox to disable all the views inside that NSBox.
To enable/disable Controls, the answer is almost in the question:
[myControl setEnabled:YES/NO];
To modify the relative position of views:
file://localhost/Developer/Documentation/Cocoa/Reference/
ApplicationKit/ObjC_classic/Classes/NSView.html
Cf Managing the view hierarchy
To send back or bring to front, you will need to remove the view and
then insert it at the wanted relative position.
_______________________________________________
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.