Solved

picture in trichedit?

Posted on 2001-08-13
5
444 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

785 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