forum.centura.web.developer (1998-2005) & forum.td.web (2005-2010)
Lairton N de Almeida Jr.
Posted by: Lairton N de Almeida Jr
Does anyone knows about the problem of webstate vars lose all the stored
This happens sometimes with my applications.
I appreciate any help.
- Posts: 196
- Joined: 02 Oct 2018, 17:35
- Location: San Pedro Sula, Honduras
Posted by: Conrado ZAVALA
Make sure to be using InitializeContext( ), SuspendContext( ) and
ResumeContext( ) correctly.
You should use InitializeContext( ) to set the values of any state
variables; you should use ResumeContext( ) to refresh objects (you could
also initialize your objects with your state variables content) and finally
use SuspendContext( ) to preserve (set) the state (current user value) of
your state variables or other object like table windows.
I hope that this contribute to the solution of your problem.
Who is online
Users browsing this forum: [Ccbot] and 0 guests