I want to write a desktop component, which works as the windows desktop.
It's inherit from TCustomPanel that contain a Timage. This Image is the background.
The background is showing in design-time, but I cannot see it in run time.
Can you help me ? Can I write something in the Paint methode ?
Here is the code.
FBkGround : TPicture;
FImage : TImage;
constructor Tdesktop.Create(AOwner: TComponent);
if FBkGround=nil then FBkGround:=TPicture.Create;
procedure Tdesktop.SetBkGround(Value: TPicture);