Conditionally Formatted Labels

Conditionally Formatted Labels - Add Conditionally Formatted Labels in SMath Studio worksheets - Messages

#61 Posted: 11/26/2019 5:03:00 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1675 posts.

Group: User

Wrote

Hello!
Sometimes you want the calculation to show by which formula the calculations were performed.



With some limitations, you can do that with this.

Clipboard01.gif

combo.sm (4 KiB) downloaded 107 time(s).

Best regards.
Alvaro.
#62 Posted: 11/26/2019 5:36:47 AM
veb

veb

1 likes in 38 posts.

Group: User

Wrote


With some limitations, you can do that with this.

Alvaro.



Thanks.
It works and maybe it will be enough.
But anyway, adding the ability to fomatted label would be great, then this definitely closed this issue
#63 Posted: 11/26/2019 10:38:57 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

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?
T


Formatted Label is superb for official document,
meets all demands. Maybe except for ComboBox.
I don't even know what ComboBox was invented for.
Done SS 6179 ... please report if red in your SS version.
The graph is done outside, on the RHS, then slided-in.
Cheers ... Jean

Image Formated LABEL [Oxyhemoglobin].sm (17 KiB) downloaded 130 time(s).
#64 Posted: 12/24/2019 2:37:34 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

PLUGIN UPDATED SMath Studio 0.99.7250 and later

  • content of strings starting with s: is now rendered as math object;
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 12/24/2019 3:20:00 PM
#65 Posted: 6/24/2020 8:09:58 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

PLUGIN UPDATED SMath Studio 0.99.7251 and later

  • Enhanced alignments of embedded MathRegions;
  • The menu button is now within the "Controls" group;
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
Oscar Campo 6/24/2020 9:11:00 PM
#66 Posted: 10/13/2020 6:38:18 PM
Jason McCool

Jason McCool

9 likes in 78 posts.

Group: User

I've really been getting some good use out of this plugin for pass/fail warnings on calcs, but here's a question. I tried using a check mark and X in an if statement in the label, and it displayed correctly in the if statement but not in the result. This was using the Segoe UI Symbol font. First I'd copied and pasted from Windows Character Map and the output was just the unicode number for that symbol. I went to Settings and changed the font to Segoe UI Symbol to see if that would help but it didn't. Is this something that is possible? Thanks!

Smath.png
Jason McCool Robbins Engineering Little Rock, AR, USA
#67 Posted: 10/14/2020 8:47:18 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Thank you Jason, I think that I've missed to implement it in some branch of the code, I'll fix it ASAP.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#68 Posted: 10/14/2020 8:51:03 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

About CharMap, you have to experiment several up until you get the
appropriate character instead of Unicode.
For direct calculations, Smath error message is sufficient.
You can't really trace from within program, not even Mathcad 11.
Calculations may have passed but so wrong !

Wrong.PNG
#69 Posted: 10/14/2020 12:33:05 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Not sure what you are after ?

CharmapPlot.PNG
#70 Posted: 10/14/2020 8:15:48 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

I've really been getting some good use out of this plugin for pass/fail warnings on calcs, but here's a question. I tried using a check mark and X in an if statement in the label, and it displayed correctly in the if statement but not in the result. This was using the Segoe UI Symbol font. First I'd copied and pasted from Windows Character Map and the output was just the unicode number for that symbol. I went to Settings and changed the font to Segoe UI Symbol to see if that would help but it didn't. Is this something that is possible? Thanks!

Smath.png



Just released a fix, it should works now.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
2 users liked this post
sergio 10/15/2020 5:00:00 AM, Jason McCool 10/15/2020 3:48:00 PM
#71 Posted: 10/15/2020 3:53:42 PM
Jason McCool

Jason McCool

9 likes in 78 posts.

Group: User

Works great now - Thanks!

Smath label.png
Jason McCool Robbins Engineering Little Rock, AR, USA
#72 Posted: 4/19/2021 11:09:42 AM
Claudio de Carvalho Aguiar

Claudio de Carvalho Aguiar

0 likes in 1 posts.

Group: User

Hello everyone! I am new to SMATH and I am loving it... After reading thru this post, and experimenting with the plugin, I am still missing some instructions or user manual. I could achieve the following but I am not sure about the available options and maybe other features...733_602_1.png
#73 Posted: 4/19/2021 11:47:55 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Hello [userlink]ZehKraudio[/userlink],

the first post has an attachment (right above the picture) that conatains the documentation about this plugin.

Context menu (right click on the region) has the option to show or hide the border, as well as the link for the font dialog (that can be opened by double-click on the region).

Styles are listed in the documentation (I noticed it is a bit outdated, they are no longer case-sensitive).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#74 Posted: 4/19/2021 12:44:47 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

I could achieve the following but I am not sure about the available options and maybe other features...


Visit Samples few days ago for more options ... convert num2symbols
#75 Posted: 4/7/2022 1:03:52 PM
⚜ Kenny Lemens, P.E. ᵂᴵ

⚜ Kenny Lemens, P.E. ᵂᴵ

74 likes in 164 posts.

Group: User

Greetings,

I have a feature request:
- Include an option: allow user to 'Hide label from SMath Viewer'

Two reasons:
1) Allows a user to add comments within a worksheet that does not get published to the Viewer (akin to commenting code in C++ or VB.net)
2) For testing/debugging label(s) and how they work, how they display within the Viewer.
- - - - Per an image you posted (see below): I would like the ability to hide several of those buttons without deleting them from the worksheet itself. (NOTE: I am aware that disabling the control does has this effect; however, it also disables its evaluation in the worksheet; it would be nice to interact with an enabled Label within the worksheet, but to toggle hide/show when publishing to the SMath viewer.
Wrote

Quote=Davide Carpi;11378



Thoughts?

Thank you
-Kenny Lemens; P.E.
"No matter where you go, there you are." -Buckaroo BanzaiHotkeys: https://en.smath.com/forum/resource.ashx?a=45771&b=2
#76 Posted: 4/13/2022 2:12:54 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Done, the feature is available through context menu (default is visible).

A general way to keep regions and not display them in viewer is to organize the regions to hide in dedicated areas to collapse before publishing as exe.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#77 Posted: 4/13/2022 6:47:09 PM
⚜ Kenny Lemens, P.E. ᵂᴵ

⚜ Kenny Lemens, P.E. ᵂᴵ

74 likes in 164 posts.

Group: User

Thank you! Such a minor feature, but I appreciate the implementation.
-Kenny Lemens, P.E.
"No matter where you go, there you are." -Buckaroo BanzaiHotkeys: https://en.smath.com/forum/resource.ashx?a=45771&b=2
#78 Posted: 1/16/2023 7:21:00 PM
German

German

0 likes in 8 posts.

Group: User

Hello, i am having problems with this plugin or i dont exactly kown if the problem is the plugin.

I attach images that can explain the situation better than my words.

1.jpg

When i define the same value manually the warning disappears
2.jpg
#79 Posted: 1/17/2023 12:14:36 AM
NDTM Amarasekera

NDTM Amarasekera

130 likes in 352 posts.

Group: User

Hello. Better if you post the sm file, for anybody to check.
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
1 users liked this post
Davide Carpi 1/17/2023 11:21:00 AM
#80 Posted: 1/17/2023 8:42:51 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Hello, I am having problems with this plugin or I don't exactly know if the problem is the plugin.


Formatted Label supports conditional, providing set correctly.

Image Formated LABEL [Oxyhemoglobin] FORUM.sm (16 KiB) downloaded 62 time(s).

  • New Posts New Posts
  • No New Posts No New Posts