Reply To: Convert Var/Text to String for get-method

PennController for IBEX Forums Support Convert Var/Text to String for get-method Reply To: Convert Var/Text to String for get-method

#10548
Jeremy
Keymaster

There is no javascript function called setVar. What you can do is:

getButton("B1")
  .callback( 
    newFunction( ()=>{
      try { getCanvas( getVar("canvasnr")._element.value ).visible()._runPromises(); }
      catch (e) { }
    }).call()
    ,
    getVar("canvasnr").set("C3")
  )

Jeremy