• 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: -stringValue on NSTextfield does not reflect actual contents [SOLVED]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -stringValue on NSTextfield does not reflect actual contents [SOLVED]


  • Subject: Re: -stringValue on NSTextfield does not reflect actual contents [SOLVED]
  • From: Matt Neuburg <email@hidden>
  • Date: Tue, 25 Jul 2006 18:07:24 -0700
  • Thread-topic: -stringValue on NSTextfield does not reflect actual contents [SOLVED]

On Tue, 25 Jul 2006 21:52:45 +0200, Philip Dow <email@hidden> said:
>> Also, on a different topic, I realize this conversation has been held
>> before, but I find it very odd behaviour to begin a sheet with
>> beingSheet:
>> (which makes it window-modal, automatically) and then suddenly call
>> runModelForWindow: on the sheet (which makes it app-modal). If you
>> wanted an
>> app-modal window, why did you summon a sheet? The standard UI is that
>> stand-alone dialogs are app-modal, sheets are window-modal. m.

>of going about a sheet. I've never noticed a difference while the
>application is actually running, so I haven't investigated it further.

Well, that doesn't make it right. (It's kind of a lazy way of doing a sheet,
since instead of using a delegate message when the sheet closes, you just
pause the code and pick up again in the same method after it closes.)

And you would notice a difference if there were more than one window.

You might also notice a difference in the behavior of your menus (menus
behave differently in an app-modal dialog, IIRC, though don't ask me for
details as I've forgotten).

m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Multiline checkbox text?
  • Next by Date: Document not opened at launch?
  • Previous by thread: Re: -stringValue on NSTextfield does not reflect actual contents [SOLVED]
  • Next by thread: Can switch be used here?
  • Index(es):
    • Date
    • Thread