Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 21:05:36 +0000



Post From: Action after OK/Apply button

[2018-01-16 16:10:08]
User53601 - Posts: 105
Seems that this did not bring the solution.

Piece of code I need to run before recalculation uses data stored in structure like sc.Subgraph[1].Arrays[1] .

If I run the code the way as suggested,
the data stored in sc.Subgraph[1].Arrays[1] get reset to zero beforehand, so I cannt use them:


If I run the code this way:
if (sc.LastCallToFunction )
{ // In this situation the code run ok, it can use data stored in sc.Subgraph[1].Arrays[1] }

I would need to run the code after use of button Apply/OK however before the process of recalculation starts,
like it is in case of using button REMOVE/sc.LastCallToFunction .