On 14/06/17 11:33, Mattias Gaertner via Lazarus wrote:
> On Wed, 14 Jun 2017 11:12:11 +0100
> Lukasz Sokol via Lazarus <lazarus@lists.lazarus-ide.org> wrote:
> 
>> [...]
>>       SomeClassLockedList := SomeClassList.LockedList; // there are 
>> try/excepts around all here, but did not want to muddle the picture
>>       Queue(TSomeClass(SomeClassLockedList.Items[i]).Processed); 
> 
> Queue(@TSomeClass(SomeClassLockedList.Items[i]).Processed);
>       ^
> 
> Mattias
> 

Thanks! looks so easy in hindsight ;) same the callbacks need to be assigned 
with the @ in front :)

-L.

-- 
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to