Hello,
In GUI Composer, how do I bind a button to a variable. Neither Bind->Label nor Widget->Label work.
Stephen
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Where is the documentation for GUI Composer?
I found this post
.
I added a dsScript.js file to my GUI Composer project with the contents shown below. I also added myStepOver to the onclick evert. GUI_Var doesn't get set to 1 when I click the button.
What am I doing wrong?
Stephen
importPackage(Packages.com.ti.ccstudio.scripting.environment)
function myStepOver( steps)
{
if(!$active_context_name)
{
throw "An active Debug Session is required for myStepOver()";
}
var debugServer = ScriptingEnvironment.instance().getServer('DebugServer.1');
var session = debugServer.openSession($active_context_name);
session.expression.evaluate("GUI_Var = 1");
}