Solved

picture in trichedit?

Posted on 2001-08-13
5
442 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:mnasman
Comment Utility
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
Comment Utility
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
Comment Utility
How 'bout usin the clipboard:
  Clipboard.Assign(Image1.Picture.Bitmap);
  RichEdit1.PasteFromClipboard;

or something...

rondi.
0
 
LVL 2

Expert Comment

by:craig_capel
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

728 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now