🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #231723

Re: [Dialog] Remove "Outbox", "Sent" etc from list

#231723
From: Eggs Zachtly
Date: Mon, 23 Mar 2009 21:01
40 lines
2690 bytes
Norwood said:

> In my list of subscribed newsgroups I would like to remove all the folders
> and things that aren't actual newsgroups such as the Inboxes, Sent and
> Drafts folders.
> 
> Is this possible?

You can hide them from view, but you can't delete them. 

If this will suffice, then you need to add the following script. Move the
Inboxes, etc to the bottom of the Newsgroup pane and then copy what is
*between* the asterisks below, and add it to the OnNewsgroupListPaint Event
Script:

******************

function
OnNewsgroupListPaint(PaintString:widestring;ColumnIndex:integer):widestring;
begin
    paintstring := StringReplace(paintstring,'Inbox','',[rfReplaceAll])
    paintstring := StringReplace(paintstring,'Sent','',[rfReplaceAll])
    paintstring := StringReplace(paintstring,'Drafts','',[rfReplaceAll])
    // add as many lines of this kind as needed


result:=paintstring;
end;

begin
end.

******************

HTH
-- 

Eggs

Chopped cabbage - not just a good idea... it's THE SLAW.
Technical Details
Message-ID: <13ougs0zfj44b$.dlg@sneupie.eingang.org>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!transit4.hitnews.eu!feeder.news-service.com!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail
References: <1f0gtl0raj8fr.1o9e3scn0fr6j.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <13ougs0zfj44b$.dlg@sneupie.eingang.org>
Subject: Re: [Dialog] Remove "Outbox", "Sent" etc from list
Date: Mon, 23 Mar 2009 16:01:07 -0500
From: Eggs Zachtly <re@d.thereplyto.header>
References: <1f0gtl0raj8fr.1o9e3scn0fr6j.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!border1.nntp.ams.giganews.com!nntp.giganews.com!transit4.hitnews.eu!feeder.news-service.com!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail
Newsgroups: news.software.readers
Organization: A noiseless patient Spider
Lines: 40
Reply-To: eggsUNDERSCOREHEREzachtly@hotmail.com
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.eternal-september.org
 U2FsdGVkX1/luhXVOmy8fcQQpqZWjEtsiJ3zVGm+5fYiYq/Wob+Tqzj5CtiNvkLR7Lq+fE34LIqJGapUnT6HGjvKzFw6GGlIGKcIp4AvzOlgdKUs8IFuS/RN8E6qb5PSFOx5x2CX/5Ryz5+M1kGO9w==
X-Complaints-To: Please send complaints to abuse@motzarella.org with full
 headers
NNTP-Posting-Date: Mon, 23 Mar 2009 21:01:11 +0000 (UTC)
X-NoArchive: YES
X-Auth-Sender: U2FsdGVkX1+DmXB1c1Cn2QwFZSGJrzzz/vslPFOI7XMryY+nW9cqkZpAjp1/QQq9
X-Face: $%$UgNA%E<42Qf_>-!&R#Q<QR12)vk\a&R@)IOC9ectCM]ZPDvUN{?r)7mR%i\JMa(:T`GI
 G?jav5U?a/TTrjty7B;
 7%#,R~]b|+EX`yOT^bM)G!fk.?kYkFiP=svrkY^{$m+m$~oXc,9M$6>McRk #5Ld9c9lq1b
Cancel-Lock: sha1:zqAdu0U5h3wsfh+1DA/tEJWXzCQ=
User-Agent: 40tude_Dialog/2.0.15.1
X-WebTV-Stationary: Standard; BGColor=yellow; TextColor=yellow