Opposite of application.updateUI()?

Ok, I’m still looking around and figuring somethings out in Servoy, excuse my questions. The “updateUI()” call refresh the form. Is there an equivalent to prevent updates to the UI for a time?

I’m seeing a massive performance hit if I build a global variable directly while it’s displayed on the form. The workaround is to build the value in a variable and set the global once at the end, but I like to be able to factor some of the builder commands into global methods that will be used across the system, so I’d rather build the strings directly to the global.

g.

agiletortoise:
The workaround is to build the value in a variable and set the global once at the end, but I like to be able to factor some of the builder commands into global methods that will be used across the system, so I’d rather build the strings directly to the global.

g.

You can write a global method and pass the name of the global variable to it, then you work on a normal var and store the value in the global at the end. Like this:

var x = arguments[0]

var myComplicatedCalc = ............

globals[x] = myComplicatedCalc