J
jaire
In my application I have two threads.
Each of them creates a new propertygrid.
In the property grid I have a property with a color editor.
Whenever i am clicking on the combo box to change the 'Color' in the
first thread is fine.
Any other thread that tries to modify the color in the property grid
throws:
"Controls created on one thread cannot be parented to a control on a
diffrent thread."
Is property grid thread safe? Is there any wrong static variable that
should be threadstatic? Any solution?
Thanks,
jaire
Each of them creates a new propertygrid.
In the property grid I have a property with a color editor.
Whenever i am clicking on the combo box to change the 'Color' in the
first thread is fine.
Any other thread that tries to modify the color in the property grid
throws:
"Controls created on one thread cannot be parented to a control on a
diffrent thread."
Is property grid thread safe? Is there any wrong static variable that
should be threadstatic? Any solution?
Thanks,
jaire