Article View: news.software.readers
Article #136911Re: [Dialog] Toolbar 'buttons' to show Groups, Message List (heades), Message?
From: Paul Walton
Date: Wed, 05 Nov 2003 18:09
Date: Wed, 05 Nov 2003 18:09
96 lines
3701 bytes
3701 bytes
On Wed, 5 Nov 2003 17:06:36 +0000, Doug Weller wrote:
> On Wed, 5 Nov 2003 16:f26:16 +0000, Paul Walton wrote:
>
>> On Wed, 05 Nov 2003 07:58:13 +0000, Doug Weller wrote:
>>
>>> [8 quoted lines suppressed]
>>
>> Yes - use Configure Buttons/Shortcuts and drag Group Pane, Header Pane and
>> Article Pane under Navigate to the button bar.
>
> That's great, I should have found it myself though! Sorry, but I'm new to
> this.
>
>> You can also make the threaded article view look like Agent as well by
>> using a script.
>>
> Ok, I'll take the plunge, do you have such a script?
>
> Thanks.
>
> Doug
This is (I like to think) an enhanced version of the Matija Agent style
script available on Wiki via the Dialog site.
To make Dialog behave like Agent when displaying threads -
Thread title displayed once, follow-ups with the author's name only and
authors name displayed on the first message and blanks on all subsequent
(this is the change from Matija's version)), you'll have to make a few
changes in the header layout and you use the included script.
Header Layout changes Change Subject column to %subjectnamechange%
In Name column change to %threadindent%%fromname%
Paste this script in event scripts -> OnArticleListPaint compile and run.
The column numbers affected are in the case statement - mine are 3 and 4.
program OnArticleListPaint;
function Subject(PaintString:widestring) : widestring;
var
n:integer;
c:widestring;
i:integer;
tmpstring:widestring;
begin
tmpstring := paintstring;
n := length(tmpstring);
if (n > 0) then begin
n := length(tmpstring);
c := copy(tmpstring, n, 1);
if c = ')' then begin
while (n > 1) do begin
n := n - 1;
c := copy(tmpstring, n, 1);
if c = '(' then begin
result := copy (tmpstring, 1, n-2);
exit;
end;
end;
end;
end;
result := tmpstring;
end;
function Name(PaintString:widestring) : widestring;
var
c : widestring;
begin
c := copy(PaintString, 1, 1);
if c < 'A' then result := ''
else result := PaintString;
end;
function
OnArticleListPaint(PaintString:widestring;ColumnIndex:integer):widestring;
begin
case ColumnIndex of
3 : result := Subject(PaintString);
4 : result := Name(PaintString);
end;
// result := inttostr(ColumnIndex);
end;
begin
end.
Regards,
--
Paul Walton
West Midlands, UK
Technical Details
Message-ID:
<1t308snqy2xh7$.576tb2w71wnu.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!news5.aus1.giganews.com!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!mephistopheles.news.clara.net!news.clara.net!diablo.theplanet.net!news.theplanet.net!not-for-mailReferences:
<j8bhqv0n324i8tj7baumqo3of40t7bpsb3@4ax.com> <1is787v2aj7f9.onjawxuf6er5.dlg@40tude.net> <p8mhx4asq0w8$.urov4ptqte6o.dlg@40tude.net>Show Full Headers
Complete Article Headers
Message-ID: <1t308snqy2xh7$.576tb2w71wnu.dlg@40tude.net> Subject: Re: [Dialog] Toolbar 'buttons' to show Groups, Message List (heades), Message? Date: Wed, 5 Nov 2003 18:09:48 +0000 From: Paul Walton <Paul.Walton@walt.org.uk> References: <j8bhqv0n324i8tj7baumqo3of40t7bpsb3@4ax.com> <1is787v2aj7f9.onjawxuf6er5.dlg@40tude.net> <p8mhx4asq0w8$.urov4ptqte6o.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!news5.aus1.giganews.com!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!mephistopheles.news.clara.net!news.clara.net!diablo.theplanet.net!news.theplanet.net!not-for-mail Newsgroups: news.software.readers Lines: 96 NNTP-Posting-Host: 81.77.178.161 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: news7.svr.pol.co.uk 1068055782 10154 81.77.178.161 (5 Nov 2003 NNTP-Posting-Date: 5 Nov 2003 18:09:42 GMT X-Complaints-To: abuse@theplanet.net User-Agent: 40tude_Dialog/2.0.8.1