I don't think you can trap this event. Also I don't think there's a separate notification for this button as opposed to the system just going to sleep. But if you just want to know if the device is put to sleep eiher way with your app running then that's what mergNotify was invented for. You want UIApplicationWillResignActiveNotification and UIApplicationDidBecomeActiveNotification and these are in the demo.
Cheers Monte -- M E R Goulding Software development services mergExt - There's an external for that! On 14/10/2012, at 1:22 PM, Mark Smith <mark_sm...@cpe.umanitoba.ca> wrote: > 1. can we detect the on/off button (upper right, towards the rear) on an > iPad? _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode