PDA

View Full Version : How to stop Event



Kurt001
12 Jun 2011, 9:17 AM
Hi,
how can I stop this event:

Ext.EventManager.onOrientationChange(setMenuOrientationPhone);

After I leave the menu I need to set the event to a new function.
Therefore I need to stop the event and set it up again.

How would I do this?

Best

jmclem
13 Jun 2011, 6:05 AM
Hi,

with unOrientationChange ?

Jean-Marie.

Kurt001
14 Jun 2011, 2:06 AM
No, unOrientationChange does not work

Any other ideas