|
-
Oct 17th, 2008, 10:51 AM
#4
Re: accesing controls from a thread (safely)
when using the BGW, where are you trying to access your control from? Which routine? You can't access controls in the DoWork routine, that routine is ONLY for the background thread. However from that routine you can call reportprogress on the BGW, which will fire an event in the main UI thread, and there you CAN access UI controls like checkboxes.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|