tuxedomoon
asked on
picture in trichedit?
hot to copy a bitmap in trichedit without using OLE?
This works
1 Image and 1 RichEdit Control on a form. I assigned a picture before I compiled.
procedure TForm1.FormActivate(Sender : TObject);
begin
RemoveControl(Image1);
RichEdit1.InsertControl(Im age1);
end;
1 Image and 1 RichEdit Control on a form. I assigned a picture before I compiled.
procedure TForm1.FormActivate(Sender
begin
RemoveControl(Image1);
RichEdit1.InsertControl(Im
end;
How 'bout usin the clipboard:
Clipboard.Assign(Image1.Pi cture.Bitm ap);
RichEdit1.PasteFromClipboa rd;
or something...
rondi.
Clipboard.Assign(Image1.Pi
RichEdit1.PasteFromClipboa
or something...
rondi.
http://www.lagmaster.net/~ymlite/ole.zip <<this is all just source code i put together as an example from various
pieces of code to make it do what you want and that is "put images into richedit"
pieces of code to make it do what you want and that is "put images into richedit"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.torry.net/edot_rich.htm
maybe u will find one as u want