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 Kriss  
#1 Posted : 29 October 2017 16:15:51(UTC)
Kriss


Rank: Member

Groups: Registered
Joined: 23/01/2017(UTC)
Posts: 16
Russian Federation
Location: Moscow

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

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

Offline Davide Carpi  
#2 Posted : 29 October 2017 19:17:16(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
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 consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Kriss  
#3 Posted : 29 October 2017 20:24:10(UTC)
Kriss


Rank: Member

Groups: Registered
Joined: 23/01/2017(UTC)
Posts: 16
Russian Federation
Location: Moscow

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
Offline Davide Carpi  
#4 Posted : 29 October 2017 21:04:46(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
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

Edited by user 29 October 2017 21:46:12(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Kriss  
#5 Posted : 30 October 2017 18:01:50(UTC)
Kriss


Rank: Member

Groups: Registered
Joined: 23/01/2017(UTC)
Posts: 16
Russian Federation
Location: Moscow

Thank you, Davide Carpi!

Yes, I also thought about this solution.
If there are no other suggestions, I will use your proposed solution.
Offline Kriss  
#6 Posted : 10 November 2017 09:00:08(UTC)
Kriss


Rank: Member

Groups: Registered
Joined: 23/01/2017(UTC)
Posts: 16
Russian Federation
Location: Moscow

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

Edited by user 10 November 2017 09:01:56(UTC)  | Reason: Not specified

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.