Give advice on the implementation of the scheme for the railway. How can I improve?

d549d26c1a4346a9b1bf5872f70e2f93.JPG

The programme must draw the line of the railway. need to make one line as an object with event handlers, how to implement ?
July 8th 19 at 11:45
3 answers
July 8th 19 at 11:47
Solution
As an example, the response can look at this article: Container visual objects
There is just the creation of graphic objects and working with them.
Funny article, like quite sensibly explain everything - Timmothy35 commented on July 8th 19 at 11:50
July 8th 19 at 11:49
The base object knows how renovatsia, is able to respond to pressing and pulling.
From him the object line, the object of the inscription, the object mark on the baseline
From the line - the basic line (which is horizontal), the connector (the rest).
Well, all this to get to work.
What base can you eat to use ? - Timmothy35 commented on July 8th 19 at 11:52
:- House, of course :) the Events (or methods, are not), mordancy, abstract drawing methods. - karlie.Christiansen40 commented on July 8th 19 at 11:55
* coordinates - Timmothy35 commented on July 8th 19 at 11:58
: : use Graphics32 is already there TLayerimage seems so, everything is basically ready. - Timmothy35 commented on July 8th 19 at 12:01
July 8th 19 at 11:51
Any SCADA. However, Delphi has nothing to do with it.

Find more questions by tags Delphi