Solved

Display Icons in TRichEdit and TMemo

Posted on 2004-04-07
9
301 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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

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 my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

776 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