Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

picture in trichedit?

Posted on 2001-08-13
5
Medium Priority
?
452 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Integration Management Part 2
Suggested Courses

972 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