Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,713 Location: Italy Was thanked: 1378 time(s) in 902 post(s)
|
Thank you both, I've made a patch that seems to work. ( SS-1224 opened) PLUGIN UPDATEDImportant: please report here if anyone notice a "PrePainter" error message on this region. Best regards, Davide Edited by user 30 September 2014 13:49:36(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: 18/09/2014(UTC) Posts: 71 Was thanked: 7 time(s) in 7 post(s)
|
I would like to use cases because if you nest i.e. 10 if loops the code looks ugly. But cases seems not to work with conditionally formatted labels. Is there a nice looking workaround? brotjob attached the following image(s):
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,713 Location: Italy Was thanked: 1378 time(s) in 902 post(s)
|
I'm from smartphone so I can't guarantee, but an eval(cases(...)) should works |
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: 18/09/2014(UTC) Posts: 71 Was thanked: 7 time(s) in 7 post(s)
|
works like a charm! brotjob attached the following image(s):
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 02/06/2015(UTC) Posts: 3
|
I am trying to create a label that displays " full psi " for a ratio greater than 2, but if the value drops below 2, it needs to display the actual value needed to maintain the ratio. I have it working except that it is stuck in symbolic format and displays an obscenely large fraction instead of the decimal value I need. I have checked all of my formats and everything is in decimal and optimized to numeric. I have tried converting to a string with num2str and rounding the fraction to a decimal value. Please help! bAiLeY attached the following image(s):
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 02/06/2015(UTC) Posts: 3
|
Thank you! This worked exactly like I needed to. And I agree, quite buggy.
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,713 Location: Italy Was thanked: 1378 time(s) in 902 post(s)
|
I'll check it. BTW it is possible to use an eval() on the first argument. |
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: 10/08/2011(UTC) Posts: 24 Location: Missouri
Was thanked: 8 time(s) in 4 post(s)
|
Would it be possible to add a button style to the Conditionally Formatted Label that had no black line border. The button style could be called "NoBorder" or something similar. I use the conditionally formatted label for displaying design checks as shown below and I think it would be nice to not have the border around the equality sign ( >). Another possible use would be for repeating text in a header on multiple pages and not have borders around the text or quotes around the text if it is a string variable as shown below. And if the background color could be set to transparent that would be crowning achievement. Thanks for your consideration.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 983 time(s) in 811 post(s)
|
Originally Posted by: Engr And if the background color could be set to transparent that would be crowning achievement. For the remaining of the question, work sheet would help. Image Formated LABEL [Oxyhemoglobin].sm (18kb) downloaded 42 time(s).
|
1 user thanked Jean Giraud for this useful post.
|
|
|
Rank: Member Groups: Registered
Joined: 21/05/2015(UTC) Posts: 11 Was thanked: 2 time(s) in 2 post(s)
|
|
1 user thanked Denis.N for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,713 Location: Italy Was thanked: 1378 time(s) in 902 post(s)
|
Originally Posted by: Engr Would it be possible to add a button style to the Conditionally Formatted Label that had no black line border [...] And if the background color could be set to transparent I think they are both feasible options Originally Posted by: Engr Another possible use would be for repeating text in a header on multiple pages and not have borders If the content is not related with calculation an option is even to use metadata content in fields objects of writer regions Edited by user 18 May 2018 23:43:24(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,713 Location: Italy Was thanked: 1378 time(s) in 902 post(s)
|
PLUGIN UPDATED - context menu: added border on/off option;
- "transparent" is now a valid color name;
- alpha channel of colors now blends with underlying objects;
- text wrap issue on printing mitigated;
Edited by user 07 June 2018 13:54:41(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 |
6 users thanked Davide Carpi for this useful post.
|
on 07/06/2018(UTC), on 07/06/2018(UTC), on 07/06/2018(UTC), on 07/06/2018(UTC), on 08/06/2018(UTC), on 08/06/2018(UTC)
|
|
Rank: Member Groups: Registered
Joined: 10/08/2011(UTC) Posts: 24 Location: Missouri
Was thanked: 8 time(s) in 4 post(s)
|
Davide - thank you for revising the plugin per my suggestions. The revised plugin works for me very well. Per your postscript note I made a donation to Smath Studio for your efforts.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 27/04/2019(UTC) Posts: 6
|
Hello,
is this plugin working with version 0.99 of SMath? I can't find it to download from the application's plugin manager.
Thanks,
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/12/2011(UTC) Posts: 321 Location: italy Was thanked: 110 time(s) in 94 post(s)
|
in my installation (win7 PRO) it works correctly sergio
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 983 time(s) in 811 post(s)
|
From SS 6179
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 983 time(s) in 811 post(s)
|
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 983 time(s) in 811 post(s)
|
... finally: does it work one way or another ?
|
1 user thanked Jean Giraud for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 02/02/2016(UTC) Posts: 35 Was thanked: 1 time(s) in 1 post(s)
|
Hello! Sometimes you want the calculation to show by which formula the calculations were performed. Use for this combo boxlist is not beautiful. Formatted label would be more accurate. But Formatted Label does not display a formalized formula. Is it possible to add such a possibility to the formatted label? And in addition, the ability to remove the frame around the edges of the formatted label? Thanks in advance!
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,713 Location: Italy Was thanked: 1378 time(s) in 902 post(s)
|
I think is not a problem 😉 |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
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.