Skip to main content
Routine clean-up
Source Link
m_goldberg
  • 108.1k
  • 16
  • 104
  • 259

Is it possible to save information from a togglerbartoggler bar to a variable oncewhen a button is clicked? 

Example: 

I have a togglerbartoggler bar with boxes eachits buttons numbered, say 1–4. If someone pressesWhen I press on a the first box containing the numberbutton showing 1, I would like to savehave 1 saved to variable x and ifx. When I press the box containing value 4button showing 2 is pressed it will save that value, I would like 2 saved to variable yy. Thanks in advance!And so on.

Is it possible to save information from a togglerbar to a variable once a button is clicked? Example: I have a togglerbar with boxes each numbered. If someone presses on a the first box containing the number 1 I would like to save 1 to variable x and if the box containing value 4 is pressed it will save that value to variable y. Thanks in advance!

Is it possible to save information from a toggler bar to a variable when a button is clicked? 

Example: 

I have a toggler bar with its buttons numbered, say 1–4. When I press on a the button showing 1, I would like to have 1 saved to variable x. When I press the button showing 2 is pressed, I would like 2 saved to variable y. And so on.

Source Link

TogglerBar Problem

Is it possible to save information from a togglerbar to a variable once a button is clicked? Example: I have a togglerbar with boxes each numbered. If someone presses on a the first box containing the number 1 I would like to save 1 to variable x and if the box containing value 4 is pressed it will save that value to variable y. Thanks in advance!