DEAR ANTONIO
I want modify the LINE class i made last year
I want move the line on the central dots for Horizontal line and Vertical LINE
how I can make
the paint method when paint the line :
IF ::lvertical
MoveTo( ::hDC, aRect[ 2 ], aRect[ 1 ] )
LineTo( ::hDC, aRect[ 2 ], aRect[ 3 ] + 1, hDark )
MoveTo( ::hDC, aRect[ 2 ] + 1 , aRect[ 1 ] )
LineTo( ::hDC, aRect[ 2 ] + 1, aRect[ 3 ] + 1, hLite )
ELSE
MoveTo( ::hDC, aRect[ 2 ], aRect[ 1 ] )
LineTo( ::hDC, aRect[ 4 ] + 1, aRect[ 1 ], hDark )
MoveTo( ::hDC, aRect[ 2 ], aRect[ 1 ] + 1 )
LineTo( ::hDC, aRect[ 4 ] + 1, aRect[ 1 ] + 1, hLite )
ENDIF