in my project i have to create toast at runtime and show it dynamically. because of that i made this project down below for reference and i came across this error.Is there any solution or workaround for this?
For catching error user should press x button on toast.
WebToast.zip (1.6 MB)
Thanks for viewing this topic.
I compile & run your project and I see no error
Do you use the latest version of TMS WEB Core?
I am sorry i didnt specify how i get that error. When user closes or should i say clicks x button in toast. it is raises error.
Thanks for quick reply.
That's because you freed your webtoast component.
So afterwards when it hides (when you press the X), it's an invalid object.
You should not Free the toast yourself. When you close it, it will be freed. Now you close an already freed toast
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.