[Lazarus] Custom control clicks

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Sep 9 23:53:43 CEST 2015


On Wed, 9 Sep 2015 17:55:12 -0300
Fabio Luis Girardi <fluisgirardi at gmail.com> wrote:

> Someone know how catch clicks on a control (TCustomControl) at design time?
> 
> I override the methods Click and MouseDown, but these events are not called
> at design time and I donĀ“t know a workaround to do this.
> 
> The idea is construct a polyline control that can be edited at design time
> through a Component Editor.

This should do the trick:

http://wiki.lazarus.freepascal.org/Extending_the_IDE#Disabling_the_designer_mouse_handler

Mattias




More information about the Lazarus mailing list