Enter data in a field that receives the calculated data

Enter data in a field that receives the calculated data - Messages

#1 Posted: 10/29/2017 10:15:51 AM
Krid

Krid

0 likes in 16 posts.

Group: 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 Posted: 10/29/2017 1:17:16 PM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: 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 Posted: 10/29/2017 2:24:10 PM
Krid

Krid

0 likes in 16 posts.

Group: 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 Posted: 10/29/2017 3:04:46 PM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: 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 Posted: 10/30/2017 12:01:50 PM
Krid

Krid

0 likes in 16 posts.

Group: 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 Posted: 11/10/2017 3:00:08 AM
Krid

Krid

0 likes in 16 posts.

Group: 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
  • New Posts New Posts
  • No New Posts No New Posts