StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Issues
»
Cross-thread operation not valid
Cross-thread operation not valid
Post Reply
Like
0
Cross-thread operation not valid
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Leonard P.
Leonard P.
posted 16 Years Ago
ANSWER
Topic Details
Share Topic
Group: Awaiting Activation
Posts: 65,
Visits: 306
Hi,
I am implementing clickable context menu with InfoBox. I am getting an error in Dispose when form is being closed after a user clicked on the context menu item. The error is "Cross-thread operation not valid: Control 'cmNotification' accessed from a thread other than the thread it was created on."
It's also happening in StrataFrame UI Control sample. But the strangest thing is that it happens in C# version of the sample only, I tired VB.NET version and it's working there
?
Attachments
sf.PNG
(
161 views,
166.00 KB
)
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Cross-thread operation not valid
Leonard P.
-
16 Years Ago
Howdy Leonard :), Yep, I was able to reproduce that error in the...
Dustin Taylor
-
16 Years Ago
Thanks Dustin,
FYI, I tried adding InvokeRequired() check...
Leonard P.
-
16 Years Ago
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search