|
The figures are coming from a thread and updating
on an event, but this is not the problem. I currently have 7
different controls on the screen showing the data visually. 2 Tlabels, 2
analogue meter components for left and right levels. 1 component which
displays both levels as coloured bars in the one component, a JvSpecialProgress
component (Jedi), and a standard TProgressBar. Except for the standard
TLabels and TProgressBar, the other 4 components will stop at various
times while others continue working. All are being updated in the same
procedure.
The problem will often occur if I move the form or
minimize it, or hide it behind another form. But often only one or 2 of
them will stop updating. It is very strange.
When one stops responding, the area of the
screen where the component resides does not refresh correctly. It
leaves bits of other screen information in it's place.
Any further ideas?
Cheers,
Ross.
----- Original Message -----
Sent: Sunday, June 19, 2005 3:31 PM
Subject: Re: [DUG] graphics stops
updating
Is the mechanism that is feeding the information
to these controls (or causing the update) threaded ? Sounds like you may have
a threading issue which causes it to stop.
Matt.
----- Original Message -----
Sent: Sunday, June 19, 2005 3:28
PM
Subject: [DUG] graphics stops
updating
Now that I have good logarithmic values, I've
installed a couple of independent 3rd party free VU meter components to
visually display the values. This is working well most of the time,
but I'm having trouble with both of these components. For no
apparent reason, they freeze on the screen. The components are still
running and drawing lines on the canvas, as I've traced this through the
code, but nothing appears on the screen. If I minimize and restore the
form, the components often become invisible. They are not being
repainted.
I've tried Invalidate, but this makes no
difference, apart from some minor flickering of the
component while it is working, but not when it isn't.
The components are being updated every
50ms. This is a 2Ghz PC.
I've tried Application.ProcessMessages.
Any other ideas?
Thanks,
Ross.
_______________________________________________ Delphi mailing
list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________ Delphi mailing
list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
|