How to prevent form from being activated when the users clicks on it?

Posted by riot_starter on Stack Overflow See other posts from Stack Overflow or by riot_starter
Published on 2010-03-23T14:31:15Z Indexed on 2010/03/23 14:33 UTC
Read the original article Hit count: 273

Filed under:
|
|
|

I have a main form and non-modal autocomplete form. How can I prevent the autocomplete form from being activated by the user, when the user clicks on the list in the autocomplete form?

So, basically I want the autocomplete form the receive the mouse click message when the users clicks, but to never become active, because it causes problems with a third-party component in the main form over which I have no control.

© Stack Overflow or respective owner

Related posts about delphi

Related posts about vcl