Conditionally Formatted Labels

Conditionally Formatted Labels - Add Conditionally Formatted Labels in SMath Studio worksheets - Сообщения

#41 Опубликовано: 29.09.2014 13:40:32
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: Moderator

Thank you both, I've made a patch that seems to work. (SS-1224 opened)

PLUGIN UPDATED

Important: please report here if anyone notice a "PrePainter" error message on this region.


Best regards,

Davide
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#42 Опубликовано: 30.03.2015 05:28:26
brotjob

brotjob

7 сообщений из 71 понравились пользователям.

Группа: User

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?
cond-formatted-label-cases.png
#43 Опубликовано: 30.03.2015 10:42:47
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: Moderator

I'm from smartphone so I can't guarantee, but an eval(cases(...)) should works
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#44 Опубликовано: 30.03.2015 11:13:59
brotjob

brotjob

7 сообщений из 71 понравились пользователям.

Группа: User

works like a charm!
cond-formatted-label-cases-solved.png
#45 Опубликовано: 02.06.2015 14:38:23
bAiLeY

bAiLeY

0 сообщений из 3 понравились пользователям.

Группа: User

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!


Capture3.PNG
#46 Опубликовано: 02.06.2015 15:43:01
bAiLeY

bAiLeY

0 сообщений из 3 понравились пользователям.

Группа: User

Thank you! This worked exactly like I needed to. And I agree, quite buggy.
#47 Опубликовано: 02.06.2015 19:14:01
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: Moderator

I'll check it. BTW it is possible to use an eval() on the first argument.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 пользователям понравился этот пост
ioan92 03.06.2015 03:33:00
#48 Опубликовано: 17.05.2018 16:53:41
Engr

Engr

8 сообщений из 24 понравились пользователям.

Группа: User

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
DesignCheck.PNG
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.
HeaderBlock.PNG
And if the background color could be set to transparent that would be crowning achievement.

Thanks for your consideration.
#49 Опубликовано: 17.05.2018 18:23:50
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

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.

Transparent.PNG

Image Formated LABEL [Oxyhemoglobin].sm (17 КиБ) скачан 60 раз(а).
1 пользователям понравился этот пост
Davide Carpi 18.05.2018 04:54:00
#50 Опубликовано: 18.05.2018 02:56:53
Denis Nikitin

Denis Nikitin

2 сообщений из 12 понравились пользователям.

Группа: User

Engr, try using Table Region.
Use setings like on the screenshots.
Файл не найден. Файл не найден.
Файл не найден. Файл не найден.
1 пользователям понравился этот пост
Davide Carpi 18.05.2018 04:54:00
#51 Опубликовано: 18.05.2018 04:58:14
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: Moderator

Wrote

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

Wrote

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
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#52 Опубликовано: 07.06.2018 07:40:38
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: Moderator

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;
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
6 пользователям понравился этот пост
Engr 08.06.2018 12:00:00, Denis Nikitin 08.06.2018 09:03:00, frapuano 07.06.2018 09:25:00, Arie 07.06.2018 10:29:00, sergio 07.06.2018 10:44:00, Oscar Campo 07.06.2018 11:56:00
#53 Опубликовано: 08.06.2018 12:05:21
Engr

Engr

8 сообщений из 24 понравились пользователям.

Группа: User

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.
#54 Опубликовано: 06.05.2019 04:21:34
scudelari

scudelari

0 сообщений из 6 понравились пользователям.

Группа: User

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,
#55 Опубликовано: 06.05.2019 05:32:50
sergio

sergio

115 сообщений из 329 понравились пользователям.

Группа: User

in my installation (win7 PRO) it works correctly
Cond01.png

sergio
#56 Опубликовано: 06.05.2019 09:39:31
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

From SS 6179

ON_OFF.PNG
#57 Опубликовано: 06.05.2019 11:34:54
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Here is the creator, adapted/augmented from Martin.

2D Util Bar Fourier_Martin.sm (75 КиБ) скачан 74 раз(а).
#58 Опубликовано: 07.05.2019 10:37:34
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

... finally: does it work one way or another ?

Pluto.PNG
1 пользователям понравился этот пост
sergio 07.05.2019 14:37:00
#59 Опубликовано: 26.11.2019 03:41:57
veb

veb

1 сообщений из 38 понравились пользователям.

Группа: User

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!
2019-11-26_09-41-56.png

#60 Опубликовано: 26.11.2019 04:30:29
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: Moderator

I think is not a problem 😉
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений