Board index » delphi » Trapping clicks outside MODAL TForms
Com...@lottery.powernet.co.uk (Matthew)
![]() Delphi Developer |
Sun, 28 Feb 1999 03:00:00 GMT
Trapping clicks outside MODAL TFormsI want to trap user mouse clicks outside modal TForms. We all know users click anywhere and everywhere, even when programmers So if we say MODAL, a user might decide he wants to "instantly escape" Let's trap that mouse click, close the form, treat it as "cancel" or A default value might be returned in many cases. Using MODAL seems to Regarding the "but-the-user-must-click-here" argument, if absolutely This would all be easy if there was a TForm.OnClickOutside() or Do we need to rewrite the TForm component to trap this event? Who knows an answer? Emails appreciated. I will reply. Matthew |