Cocoa PDE validation
Cocoa PDE validation
- Subject: Cocoa PDE validation
- From: "David Geering" <email@hidden>
- Date: Wed, 11 Jun 2008 10:11:34 +1000
- Thread-topic: Cocoa PDE validation
Hi there,
I'm trying to develop a Cocoa print dialog extension that requires a user to
input a value. For arguments sake, imagine a PDE that requires a passphrase.
I have an alert that pops up if the passphrase is missing, and this alert is
displayed whether or not my PDE is ever selected/shown. On 10.5, this is easy
to implement with the shouldPrint method, but I need to replicate this
behaviour on Tiger as well.
The saveValuesAndReturnError does not help, because this is called when
switching between presets. So if they have not input the passphrase and try
to switch presets the user will get an error alert for doing nothing wrong.
Is there any way to implement the shouldPrint method on Tiger, and ideally
also works in Leopard?
Dave G.
############################################################################################
Note:
This message is for the named person's use only. It may contain confidential, proprietary
or legally privileged information. No confidentiality or privilege is waived or lost by
any mis-transmission. If you receive this message in error, please immediately delete it
and all copies of it from your system, destroy any hard copies of it and notify the sender.
You must not, directly or indirectly, use, disclose, distribute, print, or copy any part
of this message if you are not the intended recipient. Toshiba Australia reserves the
right to monitor all e-mail communications through its networks.
Thank You.
############################################################################################
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden