Hi.

I must design an electrical network. The problem I have is about VB 6.

Suppose we have 2 buttons:
- V (vertical line)
- H (horizontal line)

We have also an initial point A.

When I press the button H the program must draw a horizontal line starting from the initial point A to the point B.

When I select the point B with a click, and I press another time the button H, I shall have another horizontal line from point B to point C.

Now if I select again the point B and I press the button V, I shall have a vertical line starting from point B to point D.

Based on this principle, I can extend my network.

After designing my network, each portion can receve differents parametres, as length, ... I am thinking to do this with a right click on each line (AB, BC, BD, ...).

I am not an expert in VB and that is why I am asking you to give me some ideea of how can I start this project. What can I use instead of Line() to be able to handle this elements with right clicks, changes of lenghts, color,...?