Link to home
Start Free TrialLog in
Avatar of queene
queene

asked on

Create a Panel component with a default picture loaded from file

Hi
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?
ASKER CERTIFIED SOLUTION
Avatar of BorlandMan
BorlandMan

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CleanupPing
CleanupPing

queene:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:
       to accept BorlandMan's answer
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Some days and here is the Christmas Time. I wish good luck and good health for you all and for your loved ones

kacor
EE Cleanup Volunteer