Click here to Skip to main content
15,897,371 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Any one please tel me. Is there possible to develop tab control with multithreading concept in windows application. I was created 4 tab pages. Is it possible to access 4 tab pages simultaneously to perform action....?
Posted
Updated 11-Jun-12 1:23am
v3

Since you can only see one tab at a time, what's the point??

You don't access the tab pages on seperate threads. Tab controls are for oragnizing and display controls containing related data, nothing more.

Yes, you can have multiple threads running various pieces of code, and yes, those threads can update their corresponding controls, if you Invoke functions on the UI thread to update the controls with the appropriate data.
 
Share this answer
 
I think you have a little reading to do about threading and Form.InvokeRequired(). Here's a good example, with explanation. When you have this down, you'll be able to solve this on your own. Cheers!

Form.InvokeRequired() example and explanation
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900