Dreamora #1 That could be done through the activegadget function.(might be that the event for gadgetaction is fired on activating as well)