Solved

Display Icons in TRichEdit and TMemo

Posted on 2004-04-07
9
302 Views
Last Modified: 2010-04-05
Dear sir

  Iwould like to know wather i can Display Icons in TRichEdit and TMemo, togother wth strings.

Thank you
0
Comment
Question by:omarmf
  • 5
  • 2
  • 2
9 Comments
 
LVL 11

Expert Comment

by:shaneholmes
ID: 10775261
the TRichEdit component does not support this directly. The Windows rich
edit control does, however, you just need to implement a IricheditOle
COM interface for it (not that straightforward).

There are thirdparty TRichEdit controls which allow this, i'll see if i can find one...

Shane
0
 
LVL 11

Expert Comment

by:shaneholmes
ID: 10775299
Here is a third party control:

http://www.trichview.com/

Here is a TRichEdit freeware component that let you add
 a bitmap:  http://www.torry.net/vcl/edits/rich/richview.zip

There may be others on www.torry.ru (www.torry.net)

or on www.delphi32.com

www.delphipages.com

Delphi Super Page

http://delphi.icm.edu.pl/


Hope this helps!

Shane
0
 

Author Comment

by:omarmf
ID: 10776023
Ok HOW do you think about TMemo and TTreeView >>> Can You tell me where i CAN FINDE ONCE WITH iCONs

thank you

0
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.

 
LVL 11

Expert Comment

by:shaneholmes
ID: 10776039
TMemo you can't

TTreeView, you just add a TImageList to your form and assign the TTreeView's  Images property to the TImageList

Then you assign the items.ImageIndex property


Shane
0
 
LVL 11

Expert Comment

by:shaneholmes
ID: 10776051
Depending on what you are tryin to do - What are you trying to do exactly?

I may be able to suggest something.

Shane
0
 

Author Comment

by:omarmf
ID: 10778975
It is Ok
  Thank you i will try to do ..
thenk you so much

Eng. Omar Fayyad
0
 
LVL 3

Accepted Solution

by:
ThoseBug earned 125 total points
ID: 10792333
i have un example to do in TRichEdit...

http://www.geocities.com/tree_roses/OleDnD.zip

hope this help you...
0
 
LVL 11

Expert Comment

by:shaneholmes
ID: 10793310
Hmm, thats funny, I can't get to this zip file, how can others see what the solution is?

"We're sorry, but this page is currently unavailable for viewing.
If this site belongs to you, please read this help page for more information and assistance"

Shane
0
 
LVL 3

Expert Comment

by:ThoseBug
ID: 10804742
shaneholmes....are you shure?...try again..
http://www.geocities.com/tree_roses/OleSample.zip
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Best Firemonkey component pack 1 119
can't find the executable in Simulator 1 101
When i run adoquery my application freezes 26 180
Multi-layered image in FireMonkey 9 49
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

830 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