Looking for a simple graphical component for Delphi
I am looking for a graphical component in Delphi winch have such features:
- allows to paint text in diffe开发者_JAVA技巧rent font types, sizes and colors
- allows to select previously drawn text and copy it
- paints images on a given coords, gif support would be nice
- its very fast in terms of CPU usage
I need this component as a main chat window. I don't want to use it as a text editor.
I've tried two solutions so far:
- TVirtualStringTree
- THtml
Currently I am using THtml. It performs quite nice but it is a bit to slow due to two facts:
- It supports many features which are not necessary in my case
- Each time I want to add some content to it, I must reload the whole content
I really don't want to go into its sources and modify them until I have no other choice. So maybe someone of you knows some nice lightweight component which I can use instead?
Take a look at TRichView. It's derived from TCustomControl so no external dependencies. It's third party commercial component, but a very good one. Skype Win client uses it.
What about a TRichEdit
? Most of the things you mention should be easiliby possible with this component.
Concering the insertion of a bitmap, see this article on Delphi 3000.
Did you consider using TWebBrowser?
At least it ticks all your boxes...
精彩评论