• 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: Modal Window? Sheet? What do I need...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modal Window? Sheet? What do I need...


  • Subject: Re: Modal Window? Sheet? What do I need...
  • From: Daniel Todd Currie <email@hidden>
  • Date: Fri, 4 Jun 2004 12:28:29 -0700

If your application only has one window, I would use a sheet. Read up on them here:

http://developer.apple.com/documentation/Cocoa/Conceptual/Sheets/

-- Daniel Currie


On 2004 Jun 04, at 03:47, Michael Becker wrote:

Hello!

I've been trying out a lot of things, but I still don't get it right. Here's my problem: I have a single-windowed application to manage images. At a certain point, the user will wish to order some of these images. In this case, a panel appears which deals with the steps needed to perform the order (in the typical "Back"/"Next" wizard style).
Naturally, I don't want the user to be able to play around in the shopping cart while performing the order. So I would like to "disable" the main window while the Order-Window is showing.

Here's what I tried:
- NSApplication's runModalForWindow: -- Doesn't seem to work, the Order-Panel won't continue (it will freeze in the initial server-negotiation, after which it should automatically display a user-data form dialog)

- NSApplication's runModalSession: and friends -- Only makes the Order-Panel stay upfront. I can still perform button clicks etc. in my main window.

How do I achieve my goal the "right" way? It's actually a quite straightforward thought, but porting this application from Windows, I am not even sure anymore if this window behavior exists on Mac OS X ...

Bye,
Michael
_______________________________________________
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.


References: 
 >Modal Window? Sheet? What do I need... (From: Michael Becker <email@hidden>)

  • Prev by Date: Re: Are Bindings Redundant?
  • Next by Date: Why is "." a decimal number? (NSScanner question)
  • Previous by thread: Modal Window? Sheet? What do I need...
  • Next by thread: Getting event details in action: selector
  • Index(es):
    • Date
    • Thread