From: "Zhitomirsky Mark"
Abdullah Mohd wrote
> Hi ...
> I was trying last days to color specific line of a memo component..
> I tried that because I have compiler project and I want to
> highlights a line where is the error exist ( like delphi editor
> when make a syntax error it highlights the line where the error
> exist ).
>
> Appreciate any help..
Try to use TRichEdit rather than TMemo, because you could apply the
specific extentions of RTF. On the second hand you can create some controls
that has specific color in the place that you need, and don`t forget to
make you memo transparent. It can be two panels. One of them has the
TMemo`s size, and second panel has the size of the specified line and the
one`s position.
Good luck.
Happy New Year.
--
Mark Zhitomirsky, Saratov. Zhitom@mail.saratov.ru
--- ifmail v.2.10
---------------
* Origin: unknown (2:5053/16@fidonet)
|