PDA

View Full Version : TMemo with images...?



wodzu
09-01-2008, 07:06 PM
Hi folks.

Does anyone know some component like TMemo but allowing me to draw also images on its canvas?

I've found only TRichView but it is way above my price limit... ;-) Which actually is (0$ :lol: )

jdarling
09-01-2008, 07:29 PM
From the standard controls tab take a look at TRichEdit and read up on RichText. Of course you could also override the basic TMemo class and implement your own that allows you to draw to its canvas.

wodzu
09-01-2008, 09:07 PM
From the standard controls tab take a look at TRichEdit and read up on RichText. Of course you could also override the basic TMemo class and implement your own that allows you to draw to its canvas.

TRichEdit doesn't allow to use Images on its canvas...And I don't want to implement this by myself.

But I've found Virtual TreeView components which should do the job.
They offer amazing features :D

User137
10-01-2008, 12:47 AM
You didn't specify what the purpose of this is so don't know if this idea is any good; I've used TWebBrowser for that task in my little chat program. Putting text in a .htm that even allow animated gifs (smileys :wink: ). Just need to add some start, end and other tagging.

noeska
10-01-2008, 05:06 PM
Personally i like this one: http://pbear.com/htmlviewers.html