Create a Panel component with a default picture loaded from file
Posted on 2003-02-23
I am writing a new component descending from TPanel with the following customization:
Place a default picure loaded from file on the Panel, allowing the application developer to change the picture file. I also want to add som action to the MouseMove method when the picture is moved across the panel.
Can this be done by simple adding a picture field in the new panel constructor, or do I have to draw a rectangle on the panel and load the picture in here?