Hey there! i got this problem, i am trying to run a new thread in my program, and in the thread the function i call has a refresh() method from a tabPanel, but everytime i start the thread it returns a invalid operation exception when trying to refresh the tabPanel, could someone help me? is this some solution to this?

are you trying to refresh a part of the application that is not directly associated with the thread?

this is common and can be a pain in the but to fix.

if you would like to share a sample of your code i may be able to help you write in some thread saftey.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.