Depending on which button is selected, text box must get some value

question by @Guru taken from here

@Guru: for new questions please always start a new thread. Thank you.

dependinng on which buton is select, text box must get some value. so, if r111, put 100 in textbox. if r112, 50, if r113, 25, if r114, -25(minus 25). plese help.

That is #off-topic, I will PM you

1 Like

for new questions please start a new thread. thank you.

@WatermelonIce please always answer questions in the public community. thank you.


but he didn’t start a new thread, how am I supposed to answer?

just answer in the thread… you don’t have to worry, if it’s on topic or off topic… a moderator can always move posts to a new thread…


Moved from PM

You have to use
if get component = r111, set textbox to 100
else if get component = r112, set textbox to 50
else if get component = r113, set textbox to 25
else if get component = r114, set textbox to -25