On Thu, 6 Apr 2006 13:11:26 -0300
"Flávio Etrusco" <[EMAIL PROTECTED]> wrote:

> May I suggest that you change
> 
> +  if not (csDestroying in ComponentState) and not 
> (csDestroyingHandle in ControlState)  and HandleAllocated then
> 
> to
> 
> +  if HandleAllocated and (ComponentState *
> [csDestroying,csDestroyingHandle] = [])   then

ComponentState <> ControlState ? The compiler should give an error for one
or the other :-).

Micha

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to