🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Lars Friedrich Sat, 01 Mar 2003 21:37
[Dialog] Scripting problem
#121050
Author: Lars Friedrich
Date: Sat, 01 Mar 2003 21:37
31 lines
1690 bytes
Hi,

I'm currently using the following Dialog-Script:

program ARTICLELV_WM_LBUTTONUP;

uses forms;

procedure OnWMessage(var Msg:TMessage;var handled:boolean);
var x:smallint;
begin
x:=msg.lparam;
if x>(application.mainform.width div 2) then 
begin
dropmarker;
ADo('CollapseAllThreads');
nextmarker;
ADo('ExpandThread');
ADo('GetSelectedMessageBodies');
end;
end;
begin
end.

application.mainform.width isn't exact enough though, I would need the 
width of the article view instead. Or even better if I could trigger on the 
subject area of the article view only.
Any ideas how to solve this problem?

-- 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads