Solved

picture in trichedit?

Posted on 2001-08-13
5
445 Views
Last Modified: 2010-04-04
hot to copy a bitmap in trichedit without using OLE?
0
Comment
Question by:tuxedomoon
5 Comments
 
LVL 22

Expert Comment

by:Mohammed Nasman
ID: 6379380
look at the link
http://www.torry.net/edot_rich.htm
maybe u will find one as u want
0
 
LVL 21

Expert Comment

by:gemarti
ID: 6381849
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;
0
 
LVL 3

Expert Comment

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

or something...

rondi.
0
 
LVL 2

Expert Comment

by:craig_capel
ID: 7093152
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"
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 8280628
All,
I am unlocking this question in preparation for cleanup.  I will return in 7 days to finalize this question.  Please leave any recommendations for the final state of this question, I will take all recommendations into consideration.  Failing any feedback, I may decide in 7 days to delete or PAQ this question with no refund.  Thanks.

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question