Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,693 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
Numeric Up-Down Control. - requirements: SS 0.96.5146 or later;
- installation: SMath Studio: Tools > Plugins... > Online Gallery;
- documentation: Numeric up-down Region.sm (29kb) downloaded 49 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 | SliderEdited by user 30 December 2021 01:52:25(UTC)
| Reason: documentation updated Davide Carpi attached the following image(s): |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
5 users thanked Davide Carpi for this useful post.
|
on 07/02/2014(UTC), on 07/02/2014(UTC), on 07/02/2014(UTC), on 07/02/2014(UTC), on 09/03/2014(UTC)
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,693 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
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). Edited by user 18 March 2014 02:05:05(UTC)
| Reason: Not specified |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,024 Was thanked: 1153 time(s) in 739 post(s)
|
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? File Attachment(s): mkraska attached the following image(s): |
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,693 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
I'll do it Martin... previously I've noticed a bug, now seems that the description text it works Edited by user 19 March 2014 22:13:38(UTC)
| Reason: Not specified |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,693 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
UPDATED
(SMath Studio 0.97.5189)
- SMath Viewer: uses the region description (if exist and is shown). |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
1 user thanked Davide Carpi for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/12/2011(UTC) Posts: 321 Location: italy Was thanked: 110 time(s) in 94 post(s)
|
Hello Davide, It seems that the numeric up-down region remains active even when control is not checked After using the mouse wheel sergio win7 smath 0.97 build 5301
|
1 user thanked PompelmoTell for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,693 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
Grazie Sergio Fixed, PLUGIN UPDATED |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
1 user thanked Davide Carpi for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,693 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
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. Davide Carpi attached the following image(s): |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
1 user thanked Davide Carpi for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,693 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
PLUGIN UPDATED SMath Studio 0.97.5737- Introduced settings from canvas (see attachment); - History Undo/Redo now is supported; canvas settings.sm (18kb) downloaded 122 time(s).Edited by user 28 October 2015 17:57:48(UTC)
| Reason: Not specified |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
4 users thanked Davide Carpi for this useful post.
|
on 28/10/2015(UTC), on 28/10/2015(UTC), on 28/10/2015(UTC), on 28/10/2015(UTC)
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,166 Was thanked: 529 time(s) in 355 post(s)
|
Not a bug but a cosmetic issue. In Linux, plugin shows two square on each side of the value. They are not written to variable, fortunately. Regards
|
1 user thanked overlord for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,693 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
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. |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,693 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
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 consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
1 user thanked Davide Carpi for this useful post.
|
|
|
Rank: Member Groups: Registered
Joined: 09/11/2020(UTC) Posts: 17 Location: Cusco Was thanked: 4 time(s) in 2 post(s)
|
Hi, it seems that the "canvas setting" field does not recognize the "whatever" variable. I'm using smath in windows 10.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,166 Was thanked: 529 time(s) in 355 post(s)
|
Originally Posted by: Renzorex Hi, 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
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,693 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
Thank you, confirmed. I'll fix it ASAP. Originally Posted by: overlord This 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 consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,693 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
Issue fixed in both NumericUpDown and Slider regions for latest SS stable and later. |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,166 Was thanked: 529 time(s) in 355 post(s)
|
String issue not fixed, at least for linux. Regards slider_options.sm (5kb) downloaded 22 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,693 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
Originally Posted by: overlord String issue not fixed, at least for linux. Thank you, I can reproduce with your file even in windows... this issue it's something more subtle, though |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,693 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
Originally Posted by: overlord String 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 consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,166 Was thanked: 529 time(s) in 355 post(s)
|
Originally Posted by: Davide Carpi 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. 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
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.