Hi,
We have a UltraWinCalcManager to which we add a number of controls and CalcSettings through the SetCalcSettings method of the UltraWinCalcManager.
What we are seeing is that it takes an amount of time to make these calls to the SetCalcSettings method - certainly longer that we would like it to take.
Each call is surrounded by a SuspendCalc and ResumeCalc; but I don't know that this actually has much impact in the amount of time taken.
Are there any recommendations as to the sequence of calls that we should be around a call to SetCalcSettings?
We're adding about 500 calculations to the calc manager so would like to improve this call if at all possible.
Cheers
-aj
Hi AJ,
alanmjackson said:Each call is surrounded by a SuspendCalc and ResumeCalc; but I don't know that this actually has much impact in the amount of time taken.
Surrounding each call with a suspend/resume will not do any good. In fact, that might even slow things down. If you are adding 500 calculations, then the thing to do would be to SuspendCalc, then add all 500 calculations, then ResumeCalc after they are all added.
Hi Mike,
We've already tried that, but it didn't seem to make any difference
is there anything else we can do?
Alan