I am new to component building and would like to create one that will draw a line at the bottom of the window then scroll up a few pixels and draw another line, etc.
I think I can do this by deriving from a TScrollingWinControl, but I need a TCanvas control to draw on. Herein lies my problem. I don't know how (if at all) to add a TCanvas control to a derived component.
Can anyone help?
I think I can do this by deriving from a TScrollingWinControl, but I need a TCanvas control to draw on. Herein lies my problem. I don't know how (if at all) to add a TCanvas control to a derived component.
Can anyone help?