Better to use application.synchronize() or to move gui code in
 main thread.
============
It makes error reporting more complicated (global error codes etc).

 application.synchronize()
============
What does it do?

2012/7/24, Martin Schreiber <mse00...@gmail.com>:
> On 24.07.2012 14:28, Martin Schreiber wrote:
>> On Tuesday 24 July 2012 13:54:08 IvankoB wrote:
>>> //-----------------
>>>
>>> application.lock;
>>> try
>>>     showmessage('');
>>> finally
>>> application.unlock;
>>> end;
>>> //-----------------
>>>
>>> doesn't help here.
>>>
>> Works for me (Linux).
> On Windows the problem is that Windows locks on window operations from
> different threads and IIRC there are event queues per thread. I'll check
> if there is a possible solution.
> Although it is not ideal to call GUI window code out of  the main
> thread. Better to use application.synchronize() or to move gui code in
> main thread.
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to