Re: Can't use TComponent in thread object?
- From: "brett" <account@xxxxxxxxx>
- Date: 24 Nov 2006 11:29:57 -0800
When passing parameters, you need to include the name of the method
you're calling:
inherited Create(CreateSuspended);
Thanks Rob. The Delphi7 docs don't mention needing to call the
indentifier.
"When inherited has no identifier after it, it refers to the inherited
method with the same name as the enclosing method or, if the enclosing
method is a message handler, to the inherited message handler for the
same message. In this case, inherited takes no explicit parameters, but
passes to the inherited method the same parameters with which the
enclosing method was called."
But it does compile.
- Brett
.
- References:
- Can't use TComponent in thread object?
- From: brett
- Re: Can't use TComponent in thread object?
- From: Jamie
- Re: Can't use TComponent in thread object?
- From: brett
- Re: Can't use TComponent in thread object?
- From: Rob Kennedy
- Re: Can't use TComponent in thread object?
- From: brett
- Re: Can't use TComponent in thread object?
- From: Nicholas Sherlock
- Re: Can't use TComponent in thread object?
- From: brett
- Re: Can't use TComponent in thread object?
- From: Nicholas Sherlock
- Re: Can't use TComponent in thread object?
- From: brett
- Re: Can't use TComponent in thread object?
- From: Rob Kennedy
- Can't use TComponent in thread object?
- Prev by Date: TimeSetEvent
- Next by Date: Re: Can't use TComponent in thread object?
- Previous by thread: Re: Can't use TComponent in thread object?
- Next by thread: Re: Can't use TComponent in thread object?
- Index(es):