Solved

Display Icons in TRichEdit and TMemo

Posted on 2004-04-07
9
300 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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 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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

895 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

16 Experts available now in Live!

Get 1:1 Help Now