Delphi 10.1 Firemonkey – Detecting the mouse click outside the component

  

How to detect the mouse click outside the component?
I’m making custom calendar and when clicking the TLabel with presented date – the TCalendar is appearing. It’s working. But I want to disappear the TCalendar when mouse is outside the component and button is pressed? In VCL I might use the WindowsMessages, but there is a Firemonkey and I want to use it at iOS too.

BR

Comments are closed.