activated

Detect when link is activated - either by click or tab and enter

Hi Guys Just wondering if anyone knows of a way that wiring up jquery to run a function for when a user clicks on a link or tabs to a link and hits enter. I want to intercept that activation of a link and perform an action before the page is changed, but I want to do it in either case. Cheers Anthony ...

Winforms - order of Load and Activated events

One of our users has sent in a log for our .NET Winforms application that indicates that the Activated event is occurring before the Load event. I didn't think this was possible and have coded with the assumption that Load would always happen before Activated. Has anyone else observed Activated occurring before Load? If so, why and ...

WPF: How do I use EventSetters with a Window Style?

I have styled a window to replace the standard Chrome and I want to handle the Activated and Deactivated events using EventSetters. I get an error "...'Activated' must be a RoutedEvent registered..." with this: <EventSetter Event="Activated" Handler="Window_Activated"/> However, this works fine in the same style. <EventSetter Ev...

I get a ServiceActivationException on one of my services while sometimes it works just fine

I have a service that retrieves data from a SQL server using Entity Framework. Most of the time it works fine but sometimes it fails with a The requested service XXXXXXXXXXXXXXXXXXX could be activated." error. To be able to see whats wrong, I have enabled tracing and checked with svctraceviewer. And found out that there is...

PyQt (or just QT). How to get QComboBox to fire a signal whenever it is set to a value (even if unchanged)

I am using PyQt4, but this is general enough that it could just apply to QT. I have a series of QComboBoxes that I fill from left to right (i.e. selecting an item in the leftmost will populate the next one. Selecting an item in that one will populate the next, and so on) I am having difficulty getting my signals to fire under all situa...