PDA

View Full Version : saving changes in page



Unknown 2010
02-28-2009, 09:41 AM
Hi,

I have two pages. In page 1 there are a lot of inputs. If I filled them on runtime mode then I go to page 2 then I return to page 1 I lost the information on inputs

How to keep them without using variables ?

longedge
02-28-2009, 10:56 AM
But that's one of the great things about global variables. Why not use them?

You've got to store the information somewhere, surely you don't want to be writing it out to temp files on the HD.

longedge
02-28-2009, 11:53 AM
I've been thinking and I just don't see a way of not using a variable but you could make it a local by using the following on page close -

local result = Input.GetText("Input1");
tProperties = {};
tProperties.Text = result;
Input.SetProperties("Input1", tProperties);