Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Slider value.
Posted 2020年4月17日 GMT-4 08:54 General, API Version 5.5 0 Replies
Please login with a confirmed email address before reporting spam
I have defined a slider in an application (in the Application Builder). I want it to control the time paramater (t) for which some plots will be shown. I have defined a method with a few lines like
Integer ind;
ind = app.form("form1").formObject("slider1").getValue();
The method getValue() is not valid (I wrote just "from the heart", I'm looking for the correct one).
I only need to GET the value of the slider (the step, in my case there are 20 in total) and use it to set the time value and update the plots. Thanks in advance.
Hello Mike McCulloch
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.