Search code examples
delphilinevcl

Delphi line component


I am looking for a line component.

I have seen a couple examples, however they dont enable

  • the line to be drawn at any angle, or
  • with different line paterns - dot/dash
  • etc.

I would like to be able to do something similar to the INSERT/SHAPES/LINE in MS word, that i can grab the anchor at an end and drag at any angle...

This is one i found: TLine v.1.0

but it only lets me draw horizontal or vertical lines, not a line at say 17 degrees..

This link is the type of thing i want to do, have anchor points at the end of the line, so i can click on them at runtime and drag the line

Does anyone know of a component (freeware) that

  • can do what i want or
  • help to convert the above to do what i want, or
  • any suggests that might help..

thanks in advance...


Solution

  • EFG's Computer Lab Graphic Line Stretch comes close to what you are looking for.

    Look and feel:


    (source: efg2.com)