On Aug 19, 2014, at 3:17 AM, Quincey Morris
wrote:
> Keep in mind that two conditions must be satisfied for a menu item to be
> enabled:
>
> a. There must be an object in the responder chain that implements the
> associated action method.
>
> b. *That object* must return YES from validateUse
On Aug 19, 2014, at 00:32 , Daryle Walker wrote:
> I looked for -runPageLayout: in NSApplication.h, and I couldn’t find it.
> That’s why I thought this action may be obsolete and unsupported.
>
> However…
>
> There are a lot of methods in the HTML docs for NSApplication. I thought the
> provi
On Aug 18, 2014, at 10:35 PM, Kyle Sluder wrote:
> On Aug 18, 2014, at 7:27 PM, Daryle Walker wrote:
>
>> On Aug 18, 2014, at 1:03 PM, Daryle Walker wrote:
>>
>>> I then added the same action to the app delegate (using
>>> -runModelWithPrintInfo:). Worked fine when a window was open, but tha
On Aug 18, 2014, at 7:27 PM, Daryle Walker wrote:
>
>> On Aug 18, 2014, at 1:03 PM, Daryle Walker wrote:
>>
>>> On Aug 18, 2014, at 12:30 PM, Kyle Sluder wrote:
>>>
>>> Before you speculate like this, you should try the alternative.
>>> -beginSheet… is a drop-in replacement for -runModal. (J
On Aug 18, 2014, at 1:03 PM, Daryle Walker wrote:
> On Aug 18, 2014, at 12:30 PM, Kyle Sluder wrote:
>
>> Before you speculate like this, you should try the alternative. -beginSheet…
>> is a drop-in replacement for -runModal. (Just use +[NSPrintInfo
>> sharedPrintInfo].)
>
> I added a runPag
On Aug 18, 2014, at 12:30 PM, Kyle Sluder wrote:
>> On Aug 18, 2014, at 9:13 AM, Daryle Walker wrote:
>>
>>> On Aug 18, 2014, at 8:36 AM, SevenBits wrote:
>>>
>>> On Monday, August 18, 2014, Daryle Walker >> > wrote:
>>>
I just read a post on StackOverflow that the “Page Setup…” menu it
> On Aug 18, 2014, at 9:13 AM, Daryle Walker wrote:
>
>> On Aug 18, 2014, at 8:36 AM, SevenBits wrote:
>>
>> On Monday, August 18, 2014, Daryle Walker > > wrote:
>>
>>> I just read a post on StackOverflow that the “Page Setup…” menu item is
>>> obsolete, especially for non-document apps. I tr
On Aug 18, 2014, at 8:36 AM, SevenBits wrote:
> On Monday, August 18, 2014, Daryle Walker > wrote:
>
>> I just read a post on StackOverflow that the “Page Setup…” menu item is
>> obsolete, especially for non-document apps. I tried a runPageLayout:
>> method that just did (void)[[NSPageLayout p
From: *SevenBits*
Date: Monday, August 18, 2014
Subject: NSPageLayout obsolete?
To: Daryle Walker
On Monday, August 18, 2014, Daryle Walker > wrote:
> I just read a post on StackOverflow that the “Page Setup…” menu item is
> obsolete, especially for non-document apps. I tried a runP
I just read a post on StackOverflow that the “Page Setup…” menu item is
obsolete, especially for non-document apps. I tried a runPageLayout: method
that just did (void)[[NSPageLayout pageLayout] runModal] and nothing happened;
not even the menu item became active. Did I mess up, or did Apple g
10 matches
Mail list logo