Hey, I'm pretty sure it's pretty easy and I'm missing something easy
but i'm unable to access a spinner value inside a function
- try (destroyDialog blablabla)Catch()
-
- Rollout blablabla "Ablablabla"
- (
- spinner Spine_Spn "B:" range:[3,5,3] pos:[345,115] width: 50 type:#integer
- fn a b =
- (
- print b
- )
- a Spine_Spn.value
-
- )
- CreateDialog blablabla width: 560
how can I access Spine_Spn.value inside my function. I'm using the print function to test and so far i'm only getting undefined errors. I guess it's all about declaring it at the right moment
Replies
Though I recommend the method monster posted.
Bassically what I do here is call the spiner in the rollout blablabla