V
Vinicius Bellino
Hi All,
Is there a way to change a property of an UI control, such as the
enabled property of a button, in a child thread?
I mean, my code runs a long process, and because I wanted to show the
status in another popup window, I created a new (child) thread to run
the long process and I let the main thread open a new popup with
auto-refresh to show the status, using a shared Session variable to
pass the current status between these threads. Before starting the
long process, the main thread sets some UI controls to disabled, after
this process finishes in the child thread, I'd like to enable these
controls again. How could I do it?
Thanks in advance,
Vinicius
Is there a way to change a property of an UI control, such as the
enabled property of a button, in a child thread?
I mean, my code runs a long process, and because I wanted to show the
status in another popup window, I created a new (child) thread to run
the long process and I let the main thread open a new popup with
auto-refresh to show the status, using a shared Session variable to
pass the current status between these threads. Before starting the
long process, the main thread sets some UI controls to disabled, after
this process finishes in the child thread, I'd like to enable these
controls again. How could I do it?
Thanks in advance,
Vinicius