Pritpal Bedi escreveu:
Marcos
Thanks for the explanation.
I know about this facts but note that
this operates on different widgets in the main
thread. I am talking about different threads.
Try this :
oButton:Connect("clicked()", hb_threadStart( {|p|NewWindow()} ) )
With this line, don“t work:
oButton:Connect("clicked()", hb_threadStart( {|p|NewWindow()} ) )
(the parameter is not a codeblock | may be a typo)
But work with this:
oButton:Connect("clicked()", {|p|hb_threadStart({||NewWindow()})} )
I am planning more tests. I believe we can find a solution.
Regards,
Marcos Gambeta
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour