problems with webstate vars

forum.centura.web.developer (1998-2005) & forum.td.web (2005-2010)
Lairton N de Almeida Jr.

problems with webstate vars

Post by Lairton N de Almeida Jr. » 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.

czavala
Honduras
Posts: 196
Joined: 02 Oct 2018, 17:35
Location: San Pedro Sula, Honduras

problems with webstate vars

Post by czavala » 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] and 0 guests