Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Alert message ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alert message ?



Jessica

thank for the info about sheet... unfortunately I was really looking for the equivalent of NSRunAlertPanel... in my case I am already using a sheet and I don't think I can popup a new sheet on top of the current sheet.

- N.

On Friday, April 4, 2003, at 10:21 AM, Jessica Kahn wrote:

Hi,

You need to create your sheet window in Interface Builder, and give it a Sherlock identifier. For this example, let's say it's called "MySheet." In your trigger code, when you want to show the sheet, you can just do the following:

DataStore.Notify("MySheet.beginSheet");

Then, let's say you have a OK button in your sheet, with the Sherlock identifier "MySheet.OKButton." In the trigger "MySheet.OKButton.action," you'd do the following:

DataStore.Notify("MySheet.endSheet");

--j.



On Friday, April 4, 2003, at 07:39 AM, Sherlock Developer Trufsoft wrote:

Hi

is there a way to show an alert message in Sherlock ? I am looking for the equivalent with AppKit of NSRunAlertPanel() : so showing a modal alert window that require the user to click a button (up to 3).

Thank you !

- N.
_______________________________________________
sherlock-channel-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/sherlock-channel- development
Do not post admin requests to the list. They will be ignored.
_______________________________________________
sherlock-channel-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/sherlock-channel- development
Do not post admin requests to the list. They will be ignored.
_______________________________________________
sherlock-channel-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/sherlock-channel-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Alert message ? (From: Jessica Kahn <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.