Toolstrip and threading


Author
Message
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.5K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I tried to create a user control that included a TxText control and a toolstring (within a toolstrip container). It works great (I used the SF richtextbox/richtextboxtoolstrip as a starting place) except when I use it on a form that I load via another thread (I instantiate the form on another thread, save it away in a static field). The form is a wizard form (SF wizard) and one of the pages has this TxTextControl user control on it. When that page is navigated to, I get a threading error saying that I can't access the toolstrip from another thread that it was created on. None of the other controls are having problems, just the .NET toolstrip. Does anyone know what the problem is?
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search