On Sat, 19 Jun 2010 16:14:50 +0200
theo <[email protected]> wrote:

> Hello
> 
> I'm trying to write a component. It's working fine so far, but I'm 
> getting these hints on the console:
> 
> [HINT] TWinControl.CreateWnd creating Handle during loading Form1:TForm1 
> csDesigning=False
> [HINT] TWinControl.CreateWnd creating Handle during loading 
> ThumbControl1:TThumbControl csDesigning=False
> 
> It happens when I run an application which is using the IDE-installed 
> component, not when creating the component at runtime.
> These are only hints and it's working fine, but I wonder how to get rid 
> of them.
> 
> Any ideas what is tipically causing this?

It means that while the TThumbControl is loading
properties it already tries to execute them. This creates unnecessary
overhead. Improve ThumbControl to only access the Handle when needed.

Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to