Solved

picture in trichedit?

Posted on 2001-08-13
5
447 Views
Last Modified: 2010-04-04
hot to copy a bitmap in trichedit without using OLE?
0
Comment
Question by:tuxedomoon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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…
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month8 days, 23 hours left to enroll

617 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