<!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.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>dear sirs:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have an application almost ready,
but....</FONT><FONT face=Arial size=2>I am trying to display a path in a form
from (x,y) coordinates and d´not obtain what I want.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I do this:</FONT></DIV>
<DIV><FONT face=Arial size=2>open a new form</FONT></DIV>
<DIV><FONT face=Arial size=2>in the OnPaint event and using Canvas I draw a
rectangle</FONT></DIV>
<DIV><FONT face=Arial size=2>I calculate some coeficients to translate the (x,y)
coordinates to the rectangle area.</FONT></DIV>
<DIV><FONT face=Arial size=2>I can represent an Origin point and a Destiny
point</FONT></DIV>
<DIV><FONT face=Arial size=2>I can represent the (x,y) points of my
data</FONT></DIV>
<DIV><FONT face=Arial size=2>I use a Timer to delay the representation from one
to the next point</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>and what I obtain: in each point it is erased the
prior representation, and I want to maintain all the (x,y) points (from the
begining to the last) and the operator can see the path of all the
points.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In the Timer2.Timer event I have to declare
fTrayectoria.OnPaint(Sender); to go back. I suspect that here is the problem,
but I dont know how to do better.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Please, any help will be of a great
deal.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>thanks in advance,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>yours truly,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Ing. Héctor F. Fiandor<BR><A
href="mailto:hfiandor@infomed.sld.cu">hfiandor@infomed.sld.cu</A></FONT></DIV></BODY></HTML>