Conditionally Formatted Labels vs Insert Writer Region - How to insert math symbols: Summation, Integral, Radical Sign, etc - Messages
Help > Reference Book > Plug-Ins > Conditionally Formatted Labels
Reads: Menu > Insert > Formatted Labels
Should Read: Menu > Insert > Controls > Formatted Labels... right?
2 - I have SMath Studio Handbook 0.99.6671, is that the latest?
Isn't there another "Handbook" often recommended? If so what is that?
3 - I can't enter the square brackets at the beginning and end of the CFL defining... like...
[" OK " "white" "red"]
The CFL widget only lets me enter parentheses, not square brackets.
Is there a trick?
4: How can you enter math symbols like the summation or integral symbols or radical symbols?
a. In CFL?
b. In Writer Region?
5 - How to add a clickable button to change the color of a Writer Region or a CFL?
(someone shared Background.sm with me that has this example)
6 - To include a picture in the post do I upload it to the forum post or link to it on a shared drive?
Sorry for all the questions but this will be helpful to me.
Thanks guys!
Right.Wrote1 - Reference Book Correction: ... right?
It is latest.Wrote2 - ...is that the latest?
Use matrix, square brackets are matrix.WroteIs there a trick?
Please detail your question.Wrote4 - How can you enter math symbols?
a. In CFL?
b. In Writer Region?
Where do you want to enter symbols?
There is Radio Buttons which can be used.Wrote5 - How to add a clickable button?
Use attach symbol while entering posts.Wrote6 - To include a picture in the post?
Choose your picture file or suitable file.
Click to upload. It will be added to your post.
Check the example file for your questions.
Regards
CFL with radiobuttons.sm (4 KiB) downloaded 49 time(s).
Wrote5 - How to add a clickable button to change the color of a Writer Region or a CFL?
(someone shared Background.sm with me that has this example)
1. Click Background to open the your pre-selected background(ssss...)
2. Click your selection
If your selection is active, it will background any Smath region.
Search "Bullets" in Samples from me, many memo code background.
Wrote1. Click Background to open the your pre-selected background(ssss...)
2. Click your selection
If your selection is active, it will background any Smath region.
Search "Bullets" in Samples from me, many memo code background.
Not related with neither topic nor 5th question.
I don't know a way to change color of a Writer region with a button.
You can use CFL for this scenario. CFL's purpose is this actually.
Change its content, foreground and background colors with variables.
And you can use Radio Buttons to alter a variable.
And use that variable value in CFL's if() or cases().
I still can not find out how to create a square area to make it a clickable button.
Do I need the "Control Region" Plug-in to make a clickable button or what?
Jean, you said
QuoteSearch "Bullets" in Samples from me, many memo code background.
....Where are "samples from me"?
Overlord,
From your answer I was able to create this... (and thanks to Jean for encouraging me to explore CFL)
CF_Label_Tutorial.sm (4 KiB) downloaded 46 time(s).
You guys let me know if I got it right.
Also, I'm going to read your answers once again to see if I missed anything.
Finally, how do I delete a file I uploaded? The first picture I uploaded was too big so no need for it to waste disk space.
Thanks !
▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼WroteI still can not find out how to create a square area to make it a clickable button.
Do I need the "Control Region" Plug-in to make a clickable button or what?
There is no option/support/plugin/etc for a clickable button in SMath.
There are checkboxes, radio buttons for clickable situations.
What you want is a Button as in Excel visual basic macros.
We don't have that in SMath, yet.
And you can't use CFL to make it behave as a button.
Its job is to create textboxes/labels which change with conditions.
▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼WroteYou guys let me know if I got it right.
You got it right and made your first CFL.
But because it is not depended to an if() or cases(), now it is a static label.
Which is fine, but you can achieve that with a text region too.
▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼WroteFinally, how do I delete a file I uploaded?
Click on "My profile" at top-right of SMath forum.
There is Attachments section on the left list.
You can delete you desired attaches from there.
Insert > Checkbox was what I was looking for.
The name "checkbox" threw me off.
Here is what I was trying to replicate as a learning experience.
Background.sm (5 KiB) downloaded 42 time(s).
I'll take a shot at it now that I have discovered the Checkbox.
I also want to try and replicate the file you shared... just so I am sure how to do it.
Thanks for the help !
CFL_with_radio_buttons.sm
I was trying to replicate it from scratch to see if I could do it...
- I created the 3 radio buttons...
- I created an "expression" with 3 placeholders vertically
- Then made a 1x2 matrix for each of those 3 placeholders
- Then made a 1x3 matrix for the first element in the 1x3 matrix
But it doesn't look the same as his... mine looks like this...
Question 1: How were the 3 lines in the CFL Created?
Question 2: How was the "if" statement created without an "else" ?
Also, when I downloaded and launched his example it told me he was using a newer SMath version
My SMath version is 0.99 (build 7822) Date 6/1/21. on Windows 10 Pro
Question 3: If there is a newer version/build would I install it on top of my existing version or first uninstall the current version of SMath?
Thanks for the help folks !
with cases() function.WroteQuestion 1: How were the 3 lines in the CFL Created?
With cases() function.WroteQuestion 2: How was the "if" statement created without an "else" ?
It is useful for multiple if situations.
No need for uninstall.WroteQuestion 3: If there is a newer version/build would I install it on top of my existing version or first uninstall the current version of SMath?
It will install on top of your SMath.
You settings and plugins shall be preserved.
You will need to uncheck beta exclude.
b - How stable is the beta version?
c - Is SMath a "stand alone" program or does it install using the Window registry, etc?
Thanks.
Wrotea - Can I install the beta to run separately without installing of the latest stable version?
b - How stable is the beta version?
c - Is SMath a "stand alone" program or does it install using the Window registry, etc?
Thanks.
a - You don't need to install beta. You can set smath to act as portable.
All extensions, settings, etc will be kept in that directory.
Just download SMathStudioDesktop.0_99_7921.Mono.tar.gz or any other build.
Extract it to a directory. Create an empty file "portable.version"
That smath will be portable sitting along with your installation.
b - Beta versions are quite stable.
In fact everybody uses them, excepts some oddballs.
c - It uses Roaming directory under %APPDATA%.
As far as I know keeps settings, plugins visa versa under Roaming/Smath directory.
Sure it shall use registry for file extensions, uninstall information, etc.
If you make it portable as described above, it will keep all its data under that directory.
Regards
- I then created a empty file portable.version in the same directory
- I then double clicked SmathStudio_Desktop.exe to launch the program but... suprise...
... SMath Solver opened up. I'm unsure what Solver is unless it is the engine SMath uses to solve equations...
Question 1: Is "Solver" the beta MathStudioDesktop.0_99_7921 ? Is it the latest SMath version?
Question 2: I was advised..."You will need to uncheck beta exclude" ...
... where is that checkbox located? Did I miss along the way or what?
Question 3: Re cases function... used in overloards cfl_with_radiobuttons.sm early in this thread...
- I created a CFL and for the placeholder...
- I created a cases function but it only created one "if" case followed by "otherwise on the next line...
How to create more if cases? (I banged on it and made numerous attempts and scanned the custom functions thread... but no joy.)
Thanks
WroteHow to create more if cases? (I banged on it and made numerous attempts and scanned the custom functions thread... but no joy.)
1. Get the basic if/otherwise [Cases]
2. Click on the the RHS place holder
3. Enter twice
It is latest.WroteQuestion 1: Is it the latest SMath version?
Now we have Solver and Writer.
Solver is traditional smath interface.
Writer has more like Ms Word style.
Click local storage in plugin window, there you will see it.WroteQuestion 2: where is that checkbox located?
Use arguments separator. "," or ";" which of you had set.WroteQuestion 3: How to create more if cases?
WroteQuestion 1: I must be misinterpreting your instructions... can you advise?
On that place holder top right ... double click coma keyboard
Try it ... Cheers ... Jean.
Hit comma again, a new ifline shall be added to cases.WroteQuestion 1: I must be misinterpreting your instructions... can you advise?
My argument separator is semicolon, so don't be confused.
According to your screenshot, yours is comma.
Not need to delete.WroteQuestion 2: must I delete the plugin and re-download/install it?
Plugins shall be automatic updated.
(Credit to overlord and Jean Giraud for guiding me along the way.)
CFL_RadioButtons_Step_by_Step.sm (13 KiB) downloaded 42 time(s).
Hopefully this step-by-step will help other newbies.
PS Let me know if I made an error... but it looks to me like it's working.
Unfortunately, a recent bug does not access Settings for sizing.
WrotePS Let me know if I made an error...
This is not an error but it needs a clarification.
Setting column in radiobutton shall tell region which column shall be used for source.
In screenshot below you can see there are two columns of data.
If you set nothing or a nonexisting column, it will take first column.
If you set an existing column, it will use that particular column of the matrix.
Regards
-
New Posts
-
No New Posts