|
How can I use a variable globally? -
06-22-2008, 09:47 PM
I'm stumped! Here's what I'm trying to do.
On the first screen I want to enter 12 different variables. I'm using NumericChoiceField since all variables are less than 20.
At the bottom of the screen I placed a button titled "Calculate" so that when the user clicks it another screen is displayed with results. I'm using the FieldChangeListner to capture the click event and that's where my problem is.
None of the NumericChoiceValues get passed over for the calculations. I'm assuming its because its in a different class. I read somewhere that I can pass these values when the the class is triggered but there was no example on how to do this. I tried to work it out myself but keep getting various errors.
Can anyone give me suggestions?
|