Skip to main content
Damon Edwards
Inspiring
May 29, 2007
Answered

cant retrieve numberstepper value

  • May 29, 2007
  • 3 replies
  • 284 views
it seems im unable to retain the NumberStepper value... if a user selects say 10, and clicks next, in my text box it should display 10.. well it displays undefined.
my_txt.text = my_nstep.value;

i have a listener to display the value in the output panel, and it works just fine.. however, once you hit next to go to the send frame, it wont display the value.
This topic has been closed for replies.
Correct answer kglad
does your stepper still exist in the send frame? if not, assign your steppers value (in the listener) to a variable and use that variable's value when assigning your textfield's text property.

3 replies

kglad
Community Expert
Community Expert
May 29, 2007
great.
Damon Edwards
Inspiring
May 29, 2007
no, it wasnt.. and that worked like a charm
kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
May 29, 2007
does your stepper still exist in the send frame? if not, assign your steppers value (in the listener) to a variable and use that variable's value when assigning your textfield's text property.