Numeric Up/Down boxes

Numeric Up/Down boxes - Accelerator Keys - Messages

#1 Posted: 11/10/2021 7:34:30 PM
PWP

PWP

1 likes in 12 posts.

Group: User

Greetings,
Your program is a dream come true.
Using the scroll wheel to change the values inside numeric up/down boxes is excellent for simulations.
However, it would be even better if we could use ctrl, alt and shift as accelerator keys for this action.
So, ordinary scrolling would change the number by the nominated amount.
Holding, say, ctrl would increase the increment/decrement by 10, alt might change it by 100, shift could alter it by 1000.
This would be even better for simulations.
Thanks, I wish I could do it myself but I can't program. One day, perhaps.
#2 Posted: 11/11/2021 10:35:19 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

This function explorer works nice.
Once setup complete, wheel mouse,
leave in auto-calculations mode.
Cheers ... Jean.

2D Util Stem SLIDER_TRACK.sm (5 KiB) downloaded 65 time(s).
1 users liked this post
sergio 11/11/2021 11:18:00 AM
#3 Posted: 11/11/2021 10:53:59 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

That's a good idea, I think I can do it.


Wrote

This function explorer works nice.
Once setup complete, wheel mouse,
leave in auto-calculations mode.
Cheers ... Jean.



Slider is an alternative for sure, although might not fit fixed-step increments (you have to play a bit with the slider position in that case).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
PWP 11/11/2021 1:59:00 PM
#4 Posted: 11/11/2021 1:56:51 PM
PWP

PWP

1 likes in 12 posts.

Group: User

Hello Davide,
Thanks for you consideration. One more thought: Perhaps the amounts by which the ctrl, shift and alt keys accelerate scroll wheel changes could be specified in the pop-up attributes panel associated with the numerical up/down slider? Just an idea. I know these suggestions might be difficult. As I've said before, even if no further changes were ever made to SMath Studio it would still be the best thing out there.
#5 Posted: 11/11/2021 2:55:15 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... refreshed version.

2D Util Stem SLIDER_TRACK.sm (5 KiB) downloaded 65 time(s).
#6 Posted: 11/11/2021 4:28:24 PM
overlord

overlord

554 likes in 1333 posts.

Group: Moderator

Wrote

That's a good idea, I think I can do it.
Slider is an alternative for sure, although might not fit fixed-step increments (you have to play a bit with the slider position in that case).


Indeed this is a good idea.
Just when you are out of ideas, a new one comes.
We have same-same key combinations for plot plugins.
If they work there, no reason no to work with Up/Down plugin.

Regards

PS: Request was about Up/Down region
Not how to use slider region for plots.
This post is not related with topic.
▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼
Wrote

#7 Posted: 11/12/2021 6:18:52 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

Perhaps the amounts by which the ctrl, shift and alt keys accelerate scroll wheel changes could be specified in the pop-up attributes panel associated with the numerical up/down slider



Yes, it was my first idea too. I'll explore even the possibility to use these "secondary scroll" with a modifier (add/subtract as usual, multiply/divide as alternative)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#8 Posted: 11/14/2021 1:54:20 PM
PWP

PWP

1 likes in 12 posts.

Group: User

Thanks Davide, That's an even better idea. Again, it would be good if the amounts for the increments and decrements invoked by the accelerator keys across the four primary operations could be definable. Of course, as you've indicated, this already seems to be on your mind. Sorry if I'm suggesting something that you were already going to do (that's annoying), it's just that I'm so eager to see the strongest implementation of this feature.
When it's available, this enhancement will make a massive difference for physics and engineering simulations.
  • New Posts New Posts
  • No New Posts No New Posts