🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.misc
Article #248

Re: Colored lines in memo

#248
From: Terry Strachan
Date: Fri, 22 Jun 2001 10:00
22 lines
1878 bytes
Try

    RichEdit1.SelAttributes.Color := clRed;

Make a selection use SelStart and SelLength etc...

    RichEdit1.SelStart := 0;
    RichEdit1.SelLength := 5;

Terry

Cozimworsit <cozimworsit@e-wc.org> wrote in message
news:9gsvjc$3im$1@reader1.fr.uu.net...
> it doesn't work, there's an error with "font"
>
> > Example:
> > - to set selection font color red
> > ...RichEdit1.Paragraph.Font.Color := clRed;
> >
> >
>
>
Technical Details
Message-ID: <295478961B@212.56.106.67>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!212.43.194.69!fr.clara.net!heighliner.fr.clara.net!grolier!btnet-peer0!btnet-peer1!btnet-feed3!btnet!landlord!wards.POSTED!212.56.106.67!anonymous
References: <9gqjcc$6db$1@reader1.fr.uu.net> <345Y6.38311$TW.190682@tor-nn1.netcom.ca> <9gr9ma$e2h$1@reader1.fr.uu.net> <qrdY6.38413$TW.191394@tor-nn1.netcom.ca> <9gs6a4$53io$1@as201.hinet.hr> <9gsvjc$3im$1@reader1.fr.uu.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10baee,d539f8a18d8f3256
X-Google-Attributes: gid10baee,public
X-Google-Thread: f894d,d539f8a18d8f3256
X-Google-Attributes: gidf894d,public
X-Google-Thread: fd817,d539f8a18d8f3256
X-Google-Attributes: gidfd817,public
X-Google-ArrivalTime: 2001-06-22 03:01:48 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!212.43.194.69!fr.clara.net!heighliner.fr.clara.net!grolier!btnet-peer0!btnet-peer1!btnet-feed3!btnet!landlord!wards.POSTED!212.56.106.67!anonymous
From: "Terry Strachan" <terry@mertongroup.co.uk>
Message-ID: <295478961B@212.56.106.67>
Newsgroups: comp.lang.pascal.delphi.misc,borland.public.delphi,alt.comp.lang.borland-delphi
References: <9gqjcc$6db$1@reader1.fr.uu.net> <345Y6.38311$TW.190682@tor-nn1.netcom.ca> <9gr9ma$e2h$1@reader1.fr.uu.net> <qrdY6.38413$TW.191394@tor-nn1.netcom.ca> <9gs6a4$53io$1@as201.hinet.hr> <9gsvjc$3im$1@reader1.fr.uu.net>
Subject: Re: Colored lines in memo
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Date: Fri, 22 Jun 2001 11:00:14 +0100
NNTP-Posting-Host: 212.56.106.67
X-Complaints-To: abuse@plus.net.uk
X-Trace: wards 993204404 212.56.106.67 (Fri, 22 Jun 2001 11:06:44 BST)
NNTP-Posting-Date: Fri, 22 Jun 2001 11:06:44 BST
Organization: Customer of PlusNet