Re: (no subject)
Re: (no subject)
- Subject: Re: (no subject)
- From: Chris Ridd <email@hidden>
- Date: Wed, 03 Jul 2002 09:22:05 +0100
valli Tadigadapa <email@hidden> wrote:
>
Hi guys,
>
>
I'm unable to figure out how to go about with the following task.The OS
>
is Mac n language is COCOA. I want to display one window onto the
Cocoa isn't a language, it is a set of Frameworks. The language could be
Objective C (or Objective C++) or Java. Maybe other things like Applescript
as well.
>
other.And depending on the selected option i want to display different
>
windows. I'm able to achieve it though sheets.But that is not the look n
>
feel i'm looking out for. I dont want the windows to appear as sheets.
>
According to the content in different windows, the main window has to
>
just resize n display the contens of the selected option.
>
>
Say in my main window i have a pop up which displays one , two ,etc.
>
When i click on one i should be able to display some content related to
>
first window. And when i click on the second option,it should display
>
some other content. I tried doing it with sheets,but when i begin a new
>
sheet that will over ride the main window. And the popup is not show. I
>
dont want it like that. I just wanna main page to include the other pages
>
as if it resizes.
How about if the main window simply held an NSTabView with invisible tabs
and no border, and the action method called by the popup could simply
switch tabs (NSTabView's -selectTabViewItemAtIndex:) in the main window. As
for resizing the window - check the NSWindow documentation.
Is that the effect you're looking for?
>
Regards,
Cheers,
Chris
_______________________________________________
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.