TIP: Click on subject to list as thread! ANSI
echo: delphi
to: ALL
from: ZHITOMIRSKY MARK
date: 1997-12-28 00:55:00
subject: Re: Coloring one line of memo!

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.