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.

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.


0 Replies Last Post 17.04.2020, 08:54 GMT-4
COMSOL Moderator

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.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.