Article View: news.software.readers
Article #149698Re: [Dialog] Date and Time
From: MLC
Date: Thu, 10 Jun 2004 17:46
Date: Thu, 10 Jun 2004 17:46
47 lines
2745 bytes
2745 bytes
giovedรฌ 10/giu/2004 _foxidrive_ ha scritto: > On Thu, 10 Jun 2004 09:29:44 +0200, MLC wrote: > >> Yes, with a script in the OnArticleListPaint event. >> (write your correct settings in the const section and remove the leading ||) >> >>|| program OnArticleListPaint; > > Thanks for that, MLC, but I had something curious occur. > See http://members.aardvark.net.au/micm/articlelistpaint.gif > > All msgs with 23(24?) lines or less had the lines replaced with the date. > Any idea why this occurs? My bad! :( In the hurry this morning I left out the if block. Sorry for that! This *should* be correct (let me know please): || program OnArticleListPaint; || const || colDate = 5; //count the columns from left to right starting || //from 0 and write here the number of the column Date || dateFmt = 'dd/mm/yyyy hh:mm'; //or yy (instead of yyyy) for a 2 digits year || function OnArticleListPaint(PaintString:widestring; ColumnIndex:integer):widestring; || || var fmt : String; || begin || if ColumnIndex = colDate then || begin || fmt := dateFmt; || PaintString := FormatDateTime(fmt, StrToDateTime(PaintString)); || result := PaintString; || end; || end; || begin || end. -- Maria Luisa C - 10/06/2004 19.43.45, here.
Technical Details
Message-ID:
<15303yda7jsqh.dlg@ID-187316.user.uni-berlin.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!not-for-mailReferences:
<t7rptqrrzyoj.1sfxhx6bpl1y9$.dlg@40tude.net> <198riihzxidak.dlg@ID-187316.user.uni-berlin.de> <1o4a9m5tg0kln.1nm6b8i392mu5.dlg@40tude.net>Show Full Headers
Complete Article Headers
Message-ID: <15303yda7jsqh.dlg@ID-187316.user.uni-berlin.de>
Subject: Re: [Dialog] Date and Time
Date: Thu, 10 Jun 2004 19:46:30 +0200
From: MLC <maluc52@yahoo.it>
References: <t7rptqrrzyoj.1sfxhx6bpl1y9$.dlg@40tude.net> <198riihzxidak.dlg@ID-187316.user.uni-berlin.de> <1o4a9m5tg0kln.1nm6b8i392mu5.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: news.software.readers
Organization: none
Lines: 47
Reply-To: mlcald@msn.com
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de v/etlyhp7A/ZJZiphDDn3QETdNZVhgac3tpyeC8M2FhWs+5wFN
User-Agent: 40tude_Dialog/2.0.12.1it (9bbf6f07.108.443)
X-face: &I8H|\w1'yKZ};
`h{<&nL:q=2]K~[37\/q=}(!=6=W5dgeTbON.!Du+FZw\(G(*:'".'I.q
ho"-qCCA7A7iUkJ.*bT?Bu$2ItIc/qhP2z?4s'SFp1t1@x`dK(6M_A;
YB}?4?qYUd45s/w%>Aq.#`[
Qj0@%<jlY`^AkchD:chF@c#h,*DGVS:ZL&4<td3<r:t_1wRfZ)S]HBru3C+1vJtGgM+&e~@WW^\aER
pN!$S7_oLCc_`a7t0<o)D\=vrRxEz/M