VoyForums

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 1234567[8]910 ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 11:37:32 05/10/01 Thu
Author: Steve
Subject: Re: Drag and Drop
In reply to: Michel 's message, "Re: Drag and Drop" on 07:39:27 05/10/01 Thu

Hi Michel

I was using the Melander's Drag and Drop Components from <a rel=nofollow target=_blank href="http://www.melander.dk/delphi/dragdrop/index.html.">http://www.melander.dk/delphi/dragdrop/index.html.</a> In this particular case I was using his DropBMPTarget.

It's pretty easy to implement.

procedure TForm1.DropBMPTarget1Drop(Sender: TObject;
ShiftState: TShiftState; Point: TPoint; var Effect: Integer);
begin
ImageScrollBox.Graphic.Assign(DropBMPTarget1.Bitmap);
ImageScrollBox.Redraw(true);
end;

But I have had such odd results trying to make this work with MS Applications. My guess, it has to do with the way a DIB is handled, but I am not good enough to figure it out on my own.

[ Next Thread | Previous Thread | Next Message | Previous Message ]


Replies:


[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.