🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #157338

Re: [Dialog] Simple scripting question

#157338
From: ZER0
Date: Fri, 22 Oct 2004 10:12
32 lines
2095 bytes
On Wed, 13 Oct 2004 22:29:05 GMT, SatCP wrote:
> 
> It's working fine. However, in Gravity you could put a lines limit on the
> single mouse click read. For example, do single mouse click read up to 300
> lines. I'd like to implement the same feature in Dialog, but the Delphi
> style programming is new to me.

Me too.. 

> But what object contains the message?

.. and unfortunately, Dialog doesn't expose any custom object and class for
access directly to messages information.

So, you don't have any object where you can make a call like this:

>   if ???????.Lines.Count < 300 then

You need to get the lines number from GUI.
So, copy the current row selected in articlelv on clipboard, and find in
this string the lines number. After, convert the string into integer and
make your condition.

Yeah, I know, this is not great; but it's the only way.

I hope it helps you, and sorry for my english.

-- 
ZER0://coder.gfxer.web-designer/

~ You don't have to be crazy to be a webmaster. But it helps.
Technical Details
Message-ID: <6onzvrell5u6.dlg@ID-171124.news.individual.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
References: <18usbuc06kthu$.akhnr9u362cv$.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <6onzvrell5u6.dlg@ID-171124.news.individual.net>
Subject: Re: [Dialog] Simple scripting question
Date: Fri, 22 Oct 2004 12:12:00 +0200
From: ZER0 <zer0.shock@libero.it>
References: <18usbuc06kthu$.akhnr9u362cv$.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
Lines: 32
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de yXNyp7nSHZd8MWNb/mDaCAGX9+nd4uCfdR7clVsxP2sZhoain9
User-Agent: 40tude_Dialog/2.0.14.1
X-Face: A,enX7hcF8D)y6aZm_S9Uzb; sr{69TM-p.v{n[{/u"**'h?TE9U/dm;
 !}7).P/=4ml~aF4x 9QU9Y^%#jfgXHSiuj&,4oVZ~w