I just recently ran into a issue on a form that displays very slowly. By that I mean when the form is executed, the border visible, but everthing within the border is white. After about 4-10 seconds (but sometimes as long as a minute) then rest of the form appears. This occurs in both code and in a compiled app.
I've pinpointed delay down to to somewhere between the from. Init() and form.Paint() events. I created an public array that I re-dimension in varias init() to track the seconds() when each one was fired then enabled the eventtracking to see the order in which they fired. According the eventtracking log, the sequence is:
Form1.Init()
Form1.Paint()
Form1.Activate()
In one example:
Form1.Init() Last line occured at 38298.480
Form1.Paint() occured at 38302.826
Form1.Activate()occured at 38302.826
almost 4.5 seconds occurred between init() and paint() with nothing in the event log.
Does anyone have any thoughts are ideas of what may be happening to cause the delay.
Thanks in advance.
I've pinpointed delay down to to somewhere between the from. Init() and form.Paint() events. I created an public array that I re-dimension in varias init() to track the seconds() when each one was fired then enabled the eventtracking to see the order in which they fired. According the eventtracking log, the sequence is:
Form1.Init()
Form1.Paint()
Form1.Activate()
In one example:
Form1.Init() Last line occured at 38298.480
Form1.Paint() occured at 38302.826
Form1.Activate()occured at 38302.826
almost 4.5 seconds occurred between init() and paint() with nothing in the event log.
Does anyone have any thoughts are ideas of what may be happening to cause the delay.
Thanks in advance.