🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #148736

Re: [Dialog] Making Threads Not Expanded

#148736
From: Lars Biskupek
Date: Sun, 23 May 2004 10:20
38 lines
2158 bytes
23.5.2004, *Wedgie*:

> Whenever I go into a subscribed group in Dialog, all the threads are
> expanded. Is there anyway to make them not expanded (collapsed)? 

> I read a tip on a web page that adding ADo('CollapseAllThreads'); to
> the OnGroupEntered event script would do the job, but it doesn't work
> for me.

Well, that should work. Did you save and compile the script?


Anyway, I use the following script here:

| program OnGroupEntered;
| 
| procedure OnGroupEntered(Groupname: string);
| begin; 
|   lockdisplay;
|   try;
|     ADo('CollapseAllThreads');       
|     ADo('HeaderlistPane'); 
|     PostKey(36, false, false, false, false, false, false, false, false);     
|   finally;     
|     unlockdisplay;  
|   end;
| end;
| 
| begin
| end.

You may want to delete the "Ado('HeaderlistPane');" and the
PostKey-command if you do not want to set the focus to the first header
in the entered group.
-- 
HTH,

L a r s   B i s k u p e k
Technical Details
Message-ID: <1k320p38zlte2$.dlg@wandhydranten.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-mail
References: <63xlif1fy9yd.1chfws2q6vxzc.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <1k320p38zlte2$.dlg@wandhydranten.de>
Subject: Re: [Dialog] Making Threads Not Expanded
Date: Sun, 23 May 2004 12:20:23 +0200
From: Lars Biskupek <Lars.Biskupek@gmx.de>
References: <63xlif1fy9yd.1chfws2q6vxzc.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: Familie Biskupek
Lines: 38
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de NR1qBXRQS+Hj7dOfdLyRdQBuQ+U7OC09ZFEzizitrWr32TjA==
User-Agent: 40tude_Dialog/2.0.12.1de (38ae1ee6.501.221)
X-Face: *UFA@O/*HmP)ETBeWY'GPH]l>PB=Jg%q(%?#<AV+^Hf::N?DVI1kkWt2j`I9=uy?Vt]r\72
 mxwjqs%A{HF|jtp5fc&JPS%hK*8!@chK#mMg2'CN6Foy).6[ejohFxgE=[W@mp8659{D!O$\f+RHzv
 3frr'; m7