Numeric up-down Region - Adds a numeric up-down control - Messages
#1 Posted: 2/6/2014 2:29:04 PM






Numeric Up-Down Control.
- requirements: SS 0.96.5146 or later;
- installation: SMath Studio: Tools > Plugins... > Online Gallery;
- documentation: Numeric up-down Region.sm (28 KiB) downloaded 76 time(s).;
- languages:
;
- main features:
- Allowed inputs: region up/down buttons, + and - keys, mouse wheel; hold the input to have more increments.
- Settings: double-click over the region.
- Output: place a variable in the region placeholder.
- Size driven by the value (manual resize not allowed).
- Adds the same control in SMath Viewer.
>>> PLEASE REPORT IN THIS TOPIC ANY ISSUE, MORE DETAILED AS POSSIBLE <<<
Password of early releases: test
Control Regions: CheckBoxList | ComboBoxList | ConditionallyFormattedLabel | NumericUpDown | PathPicker | RadioButtonList | Slider
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
5 users liked this post
Вячеслав Мезенцев 2/7/2014 3:57:00 AM, sergio 2/7/2014 5:06:00 AM, IVR 2/7/2014 4:00:00 PM, Radovan Omorjan 2/7/2014 2:19:00 AM, ioan92 3/9/2014 1:22:00 PM
#2 Posted: 3/17/2014 7:02:55 PM
UPDATED
(SMath Studio 0.97.5189)
- code updated to fit the new APIs features;
- hidden the outer frame (still remains as transparent to avoid interferences with resize markers).
(SMath Studio 0.97.5189)
- code updated to fit the new APIs features;
- hidden the outer frame (still remains as transparent to avoid interferences with resize markers).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Posted: 3/18/2014 7:18:44 PM
Davide, it seems that description strings of the region are ignored in the viewer. Can that be changed or do I need to use sort of "nice" variable names?
Notenschlüssel.sm (11 KiB) downloaded 109 time(s).
Notenschlüssel.sm (11 KiB) downloaded 109 time(s).
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#4 Posted: 3/18/2014 7:48:19 PM
I'll do it Martin... previously I've noticed a bug, now seems that the description text it works 

If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#5 Posted: 3/22/2014 1:44:41 PM
UPDATED
(SMath Studio 0.97.5189)
- SMath Viewer: uses the region description (if exist and is shown).
(SMath Studio 0.97.5189)
- SMath Viewer: uses the region description (if exist and is shown).
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
ioan92 3/22/2014 1:59:00 PM
#6 Posted: 7/22/2014 4:56:30 AM
Hello Davide,
It seems that the numeric up-down region remains active even when control is not checked
[albumimg]356[/albumimg]
After using the mouse wheel
[albumimg]357[/albumimg]
sergio
win7
smath 0.97 build 5301
It seems that the numeric up-down region remains active even when control is not checked
[albumimg]356[/albumimg]
After using the mouse wheel
[albumimg]357[/albumimg]
sergio
win7
smath 0.97 build 5301
1 users liked this post
Davide Carpi 7/22/2014 6:37:00 AM
#7 Posted: 7/22/2014 5:48:40 AM
Grazie Sergio 
Fixed, PLUGIN UPDATED

Fixed, PLUGIN UPDATED
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
sergio 7/22/2014 9:48:00 AM
#8 Posted: 10/8/2015 10:36:19 AM
I think it is possible...
Something like in the attachment? The entry point for the variable would be the form (like in table region) or in the context menu (like in the modeller region); this should grant customizable settings for every region, when you have multiple regions.
![2015-10-08 15_39_15-SMath Studio Desktop - [Page1_].png](/en-US/file/kshFKs/2015-10-08-15_39_15-SMath-Studio-Desktop---_Page1___png)
Something like in the attachment? The entry point for the variable would be the form (like in table region) or in the context menu (like in the modeller region); this should grant customizable settings for every region, when you have multiple regions.
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
ioan92 10/8/2015 10:58:00 AM
#9 Posted: 10/28/2015 11:55:55 AM
PLUGIN UPDATED SMath Studio 0.97.5737
- Introduced settings from canvas (see attachment);
- History Undo/Redo now is supported;
canvas settings.sm (17 KiB) downloaded 142 time(s).
- Introduced settings from canvas (see attachment);
- History Undo/Redo now is supported;
canvas settings.sm (17 KiB) downloaded 142 time(s).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
4 users liked this post
Andrey Ivashov 10/28/2015 4:35:00 PM, ioan92 10/28/2015 12:15:00 PM, NDTM Amarasekera 10/28/2015 12:40:00 PM, sergio 10/28/2015 1:49:00 PM
#11 Posted: 9/22/2021 2:47:54 PM
Thank you, it appears because the thin space character is not available in that font (the irony... was added for cosmetic reasons too...
)
I'll get rid of it for a more robust alternative.

I'll get rid of it for a more robust alternative.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#12 Posted: 10/4/2021 7:48:47 AM
PLUGIN UPDATED SMath Studio 0.99.7822 and later
- buttons are now made by vector drawing;
- removed thin spaces because issues in mono fonts;
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
sergio 10/4/2021 10:00:00 AM
#13 Posted: 10/25/2021 2:12:35 PM
#14 Posted: 10/25/2021 9:18:43 PM
WroteHi, it seems that the "canvas setting" field does not recognize the "whatever" variable. I'm using smath in windows 10.
I think this can be a bug.
When a setting has a string value, it can not be read by canvas settings.
Delete the "TickPosition" = "both" and whatever will be readable again.
I have tried this with "orientation" = "vertical", whatever can't be read by canvas settings.
Deleted the "orientation" = "vertical" element, and it can be available again.
This behavior made me to think there is something wrong while reading strings.
Regards
#15 Posted: 10/26/2021 5:58:20 AM
Thank you, confirmed. I'll fix it ASAP.
You are right, it is related to strings encoding. If you remove the space character from "maximum value" it works as expected.
WroteThis behavior made me to think there is something wrong while reading strings.
You are right, it is related to strings encoding. If you remove the space character from "maximum value" it works as expected.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#16 Posted: 11/1/2021 6:44:42 AM
Issue fixed in both NumericUpDown and Slider regions for latest SS stable and later.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#17 Posted: 11/1/2021 1:56:08 PM
#18 Posted: 11/2/2021 5:58:47 AM
#19 Posted: 11/2/2021 11:56:10 AM
WroteString issue not fixed, at least for linux.
Found it. You forgot to set the optimization to "none" on definitions, as indicated in the documentation. If you hover over the definition you can see that in both numeric and symbolic optimization the boolean equal between strings is preprocessed and stored as 0.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#20 Posted: 11/2/2021 2:28:13 PM
WroteFound it. You forgot to set the optimization to "none" on definitions, as indicated in the documentation.
If you hover over the definition you can see that in both numeric and symbolic optimization the boolean equal between strings is preprocessed and stored as 0.
Thanks, now it works.
To be honest I didn't read the documentation in first post.
I only looked in Reference Book and couldn't see that information in it.
Regards
-
New Posts
-
No New Posts