problems with webstate vars

forum.centura.web.developer (2000-2005) & forum.td.web (2005-2010)
NewsgroupServer
Robot
Robot
Posts: 118939
Joined: 24 Feb 2017, 12:00
Location: World wide

problems with webstate vars

Post by NewsgroupServer » 26 Apr 2007, 03:24

 Posted by:  Lairton N de Almeida Jr 

Hi !

Does anyone knows about the problem of webstate vars lose all the stored
values?

This happens sometimes with my applications.

I appreciate any help.

Lairton.

NewsgroupServer
Robot
Robot
Posts: 118939
Joined: 24 Feb 2017, 12:00
Location: World wide

problems with webstate vars

Post by NewsgroupServer » 26 Apr 2007, 19:58

 Posted by:  Conrado ZAVALA 

Hello Lairton,

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.

Regards,

Conrado

Return to “td.web”

Who is online

Users browsing this forum: Ccbot [Crawler] and 0 guests