Notifications
Clear all
[Closed] Add dotnet control to flowpanel without ui lock?
Sep 01, 2015 10:06 pm
How can I add a Dotnet control to my flowpanellayout control async without locking the ui?
When I create a backgroundworker in maxscript and try to make it adding controls to the panel it will throw an error, that this thread can not do this.
1 Reply
Sep 01, 2015 10:06 pm
The general way of doing it is to use Invoke or BeginInvoke
https://msdn.microsoft.com/en-us/library/system.windows.forms.control.invoke(v=vs.110).aspx
I don’t have a maxscript example on hand though