<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any further ideas?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Cheers,</FONT></DIV>
<DIV><FONT face=Arial size=2>Ross.</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=matt@ferndigital.com href="mailto:matt@ferndigital.com">Matt Comb</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=delphi@ns3.123.co.nz
href="mailto:delphi@ns3.123.co.nz">NZ Borland Developers Group - Delphi
List</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, June 19, 2005 3:31 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [DUG] graphics stops
updating</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Matt.</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=ross@stationplaylist.com
href="mailto:ross@stationplaylist.com">Ross Levis</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=delphi@ns3.123.co.nz
href="mailto:delphi@ns3.123.co.nz">NZ Borland Developers Group - Delphi
List</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, June 19, 2005 3:28
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [DUG] graphics stops
updating</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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.
</FONT><FONT face=Arial size=2>The components are being updated every
50ms. This is a 2Ghz PC.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I've tried Application.ProcessMessages.
</FONT><FONT face=Arial size=2>Any other ideas?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>Ross.</FONT></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Delphi mailing
list<BR>Delphi@ns3.123.co.nz<BR>http://ns3.123.co.nz/mailman/listinfo/delphi<BR></BLOCKQUOTE>
<P>
<HR>
<P></P>_______________________________________________<BR>Delphi mailing
list<BR>Delphi@ns3.123.co.nz<BR>http://ns3.123.co.nz/mailman/listinfo/delphi<BR></BLOCKQUOTE></BODY></HTML>