Hi,
there are two other options that come into my mind.
1st you could place an editbox and simply add a pipe to its value
2nd you could place a shape for each line, set its BorderStyle to 0 and FillStyle to 3 (vertical line) and for each tick you will expand the shapes width by 8px
JM2C ;-)
>I've created a form on which I need (want????) to put a line with a number of tick marks on it. For the sake of arguement, the tick marks are spaced six units apart. The number is variable and depends upon some data used by the form.
>
>What I've done is create a large number of line controls, each one representing one of the tick marks. I now have far too many of these controls on the form and it is slowing down the form instantiation and closing.
>
>I need an alternate approach and am hoping for suggestions. Please make them simple enough that my evil-twin Skippy can't mess it up for me.
>
>Thanks to all..............Rich
Best Regards
-Tom
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.
Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011