Enter data in a field that receives the calculated data

Enter data in a field that receives the calculated data - Сообщения

#1 Опубликовано: 29.10.2017 10:15:51
Krid

Krid

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

Группа: User

I use Smath Viewer - *.exe
How to make it possible to enter data in a field that receives the calculated data,
Explanation in the picture
Explanation in the picture
#2 Опубликовано: 29.10.2017 13:17:16
Davide Carpi

Davide Carpi

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

Группа: Moderator

Hello Kriss,

you can't as well as you can't enter data in results in the worksheet (or in result's cells in excel, f.e.); what are you trying to do exactly?

If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Опубликовано: 29.10.2017 14:24:10
Krid

Krid

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

Группа: User

Hello Davide Carpi,

For example,
the data retrieved from the database or a calculation
and the User can change this value or accept the given value.
(In other words - the default value)
as a variable a, as shown in the picture above, because we initially set the value that the user can change it
#4 Опубликовано: 29.10.2017 15:04:46
Davide Carpi

Davide Carpi

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

Группа: Moderator

I understand the point, as for now the only way is to change the logic of your script (f.e. creating a tab with database-driven inputs, another with user-driven inputs) or to use controls (checkbox, combobox...) to drive the behavior

2017-10-29 19_04_09-SMath Studio - [Page3_].png

2017-10-29 19_09_50-SMath Studio - [test.sm_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#5 Опубликовано: 30.10.2017 12:01:50
Krid

Krid

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

Группа: User

Thank you, Davide Carpi!

Yes, I also thought about this solution.
If there are no other suggestions, I will use your proposed solution.
#6 Опубликовано: 10.11.2017 03:00:08
Krid

Krid

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

Группа: User

Thought about it and would like to offer few solutions to this problem.
The message to the respected Davide Carpi, the developer controls.

Numeric up-down - control

1. To add to - Canvas setting - Tag - value

2. In settings add a property to - Hide the sliders - (increase/decrease)
get visually similar to control - TextBox


ComboBoxList - control

1. In settings add a property - IsEditable
like in standard controls (WPF, WinForms)
- for manual input of values

2. In settings add a property to - Hide the sliders


With respect
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений