Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline veb  
#1 Posted : 14 October 2019 17:35:17(UTC)
veb


Rank: Advanced Member

Groups: Registered
Joined: 02/02/2016(UTC)
Posts: 35
Man
Russian Federation

Was thanked: 1 time(s) in 1 post(s)
Здравствуйте.
Используем Вашу программу в небольших расчетах. Очень нравится визуализация расчетов, когда требуют предоставить формулы расчетов.
В работе используем расширение список или комббокслист, в расчетах очень часто встречается выбор. С недавнего времени начали вводить в расчеты единицы измерения, и это привело к проблемам со списками. Можно ли сделать так что бы выбираемые значения имели те же единицы что и указанные в матрице? Прикладываю проблему.
Возможно мы что то не знаем и все уже решено. Заранее спасибо!!!

Hello.
We use your program in small calculations. I really like the visualization of calculations when they require the provision of calculation formulas.
In the work we use the list extension or combo boxlist, in the calculations very often there is a choice. Recently, units of measure have been introduced into the calculations, and this has led to problems with lists. Is it possible to make the selected values have the same units as those indicated in the matrix? Applying a problem.
Perhaps we don’t know something and everything has already been decided. Thank you in advance!!!

aaa2.png_001.png

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline alyles  
#2 Posted : 14 October 2019 21:41:58(UTC)
alyles


Rank: Advanced Member

Groups: Registered
Joined: 23/03/2016(UTC)
Posts: 276
United States

Was thanked: 91 time(s) in 57 post(s)
Edit: See Sergio's post below.

If you really want to choose those values, you can create the list without units and apply the units in calculation. Note that the result of calculation will still be in SI, and you'd have to change those manually as well if you wanted to show different units.

Edited by user 15 October 2019 16:09:35(UTC)  | Reason: Not specified

Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
Offline PompelmoTell  
#3 Posted : 15 October 2019 11:12:11(UTC)
PompelmoTell


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2011(UTC)
Posts: 319
Man
Italy
Location: italy

Was thanked: 109 time(s) in 93 post(s)
To simply improve your choice in the combolist, with a little extra work, you can do this:
teWA3a0lpB.png

sergio
thanks 2 users thanked PompelmoTell for this useful post.
on 15/10/2019(UTC),  on 15/10/2019(UTC)
Offline veb  
#4 Posted : 25 October 2019 16:03:33(UTC)
veb


Rank: Advanced Member

Groups: Registered
Joined: 02/02/2016(UTC)
Posts: 35
Man
Russian Federation

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: PompelmoTell Go to Quoted Post
To simply improve your choice in the combolist, with a little extra work, you can do this:
teWA3a0lpB.png

sergio


Thank you very much! This is what you need!
Offline veb  
#5 Posted : 12 November 2019 14:34:40(UTC)
veb


Rank: Advanced Member

Groups: Registered
Joined: 02/02/2016(UTC)
Posts: 35
Man
Russian Federation

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: PompelmoTell Go to Quoted Post
To simply improve your choice in the combolist, with a little extra work, you can do this:
teWA3a0lpB.png

sergio


Hello. Please tell me where you can read about the format of text formulas, so that you can implement a degree, mathematical root, etc?
Offline PompelmoTell  
#6 Posted : 12 November 2019 14:55:25(UTC)
PompelmoTell


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2011(UTC)
Posts: 319
Man
Italy
Location: italy

Was thanked: 109 time(s) in 93 post(s)
An easy way is to write them in a separate mathematical area; then copy and paste. Then you learn the syntax and write it to you.

sergio
Offline veb  
#7 Posted : 12 November 2019 16:57:02(UTC)
veb


Rank: Advanced Member

Groups: Registered
Joined: 02/02/2016(UTC)
Posts: 35
Man
Russian Federation

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: PompelmoTell Go to Quoted Post
An easy way is to write them in a separate mathematical area; then copy and paste. Then you learn the syntax and write it to you.

sergio


sergio, many thanks, really convenient. But there is one more problem. We have a choice of formulas by which the calculations will be performed and we want to display in the report those formulas that we use.
"S: d / {s * a * rrr} * sqrt (23)" - the program correctly converts this construct into a formula only in ComboBoxList
In other places, the program still displays "S: d / {s * a * rrr} * sqrt (23)"
In which element of the program you can beautifully derive the formula (comboBoxList does not look neat for this task). I liked the formatted label extension, but it also only displays the text "S: d / {s * a * rrr} * sqrt (23)" (((
Offline PompelmoTell  
#8 Posted : 12 November 2019 18:32:50(UTC)
PompelmoTell


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2011(UTC)
Posts: 319
Man
Italy
Location: italy

Was thanked: 109 time(s) in 93 post(s)
You're right: formula rendering isn't always optimal. However, in some situations, you can also use the mathematical formulation directly, as in the attached example: ComboBoxList_001.sm (7kb) downloaded 20 time(s).

sergio
Offline Razonar  
#9 Posted : 12 November 2019 19:56:18(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Hi. I guess that this is the origin of the problem:

Clipboard01.gif
StringProblem.sm (22kb) downloaded 14 time(s).

Best regards.
Alvaro.
Offline veb  
#10 Posted : 13 November 2019 11:44:33(UTC)
veb


Rank: Advanced Member

Groups: Registered
Joined: 02/02/2016(UTC)
Posts: 35
Man
Russian Federation

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: Razonar Go to Quoted Post
Hi. I guess that this is the origin of the problem:

Alvaro.


I tried to write hands and paste from a notebook in the coding of UTF-8 and ANSI. Repeat what you did under (2) did not work.
My version of the program is 0.99 (6884), maybe there have been changes?
I'll try to update.

Update did not help.

Edited by user 13 November 2019 14:10:51(UTC)  | Reason: Not specified

Offline ElSid  
#11 Posted : 28 January 2021 21:27:31(UTC)
ElSid


Rank: Advanced Member

Groups: Registered
Joined: 05/03/2009(UTC)
Posts: 433
Man
United States
Location: USA

Was thanked: 17 time(s) in 15 post(s)
Feeling like a total @#%%!@%%@453
How do you create the combobox? I defined my variable aa
I went to "insert" --> "combobox".
In the bottom input square, I inputted bb:=aa

I partially figured out the list. It's under CONTROLS --> ComboBoxList!
Using the "ComboBox" I had to tap/enter and it was a mess... First time trying to use it
Not sure why the values are not coming in
Screenshot 2021-01-28 144252.png

Final answer ... In the combo list, right click and play with settings ... Why do I make things difficult on myself!

Edited by user 28 January 2021 22:49:47(UTC)  | Reason: Answered Myself

Offline PompelmoTell  
#12 Posted : 28 January 2021 22:50:33(UTC)
PompelmoTell


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2011(UTC)
Posts: 319
Man
Italy
Location: italy

Was thanked: 109 time(s) in 93 post(s)
First of all it is good to remember that there are two comboboxes that are located in two different plugins. One is by Andrey Ivashov and the other is by Davide Carpi.
The examples of this topic refer to that of Davide Carpi. In the variable "aa" you should have inserted a matrix of which one column represents the choice list and the other or the others are used to define the values ​​(in a generalized sense) to be assigned to the variable "bb" (what to assign is done with the setting of the combobox once it has been created). In the black square at the bottom enter only "bb".
To set the combobox use setting in the contextual menu of the same

sergio

Edited by user 28 January 2021 22:58:53(UTC)  | Reason: Not specified

thanks 1 user thanked PompelmoTell for this useful post.
on 29/01/2021(UTC)
Users browsing this topic
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.