Link to home
Start Free TrialLog in
Avatar of tuxedomoon
tuxedomoon

asked on

picture in trichedit?

hot to copy a bitmap in trichedit without using OLE?
Avatar of Mohammed Nasman
Mohammed Nasman
Flag of Palestine, State of image

look at the link
http://www.torry.net/edot_rich.htm
maybe u will find one as u want
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(Image1);
end;
Avatar of rondi
rondi

How 'bout usin the clipboard:
  Clipboard.Assign(Image1.Picture.Bitmap);
  RichEdit1.PasteFromClipboard;

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"
ASKER CERTIFIED SOLUTION
Avatar of SpideyMod
SpideyMod

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