I'm trying to setup a gauge object as a status indicator but I can't figure out how to get it to change values. Does anyone have an example of how to do this?
Here are a few notes I found regarding the gauge control:
* By default, the gauge is set up to use a formula; set the ValueEQ property to 0 (using the Object Properties dialog) to make the control use the Value property instead of a formula
* Set the Value property to a percentage, between 0 and 100, in your script code, like this:
For I = 1 to 100
Gauge1.Value = I
Thanks for the help. That fixed the gauge use problem.
Now I have a problem that the efm form loses focus and the gauge doesn't update until the script finishes. Is there a way to fix this issue?
That's a little trickier... it probably depends on what the script is doing.
If you are on Windows, you could try creating a WScript.Shell object and calling the AppActivate method with the form's title.
Retrieving data ...