As long as whatever is being clicked on can take the focus, the control loses the focus so your even should run. Put a break point on it and see if it runs when focus is lost when this click action you mention takes place. Then step through (F8) and watch how the code executes. If it's because of some condition you're testing for, you can fix that. If the event doesn't fire, go to the Event tab in property sheet and ensure the event is set there. If still no joy I'd try replacing the control with a new one.
Last edited by Micron; 04-01-2022 at 08:43 AM.
Reason: clarification
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.