Hi all
I have question can I run my scripts from button events ?
I have test script for learn with name AdapterSQL and in script is only message box.
I want call this script from button event and if I call this script i get error mesage.
Thank You
Try
project.AdapterSQL.AdapterSQL("test")
Thank you
What you’re trying is not going to work, because you’re using a Perspective Button to invoke a Vision method; system.gui
will only work in Vision windows. The Perspective Equivalent would be system.perspective.openPopup()
, where you pass the message as a parameter to the View you specify you are opening in the method call.
1 Like
Whoops! Missed that.
Yes i use Perspective Button