Article View: news.software.readers
Article #130982Re: [Dialog] Application.Mainform bad behaviour
From: Marcus Mönnig
Date: Sun, 17 Aug 2003 21:25
Date: Sun, 17 Aug 2003 21:25
33 lines
2646 bytes
2646 bytes
On Sun, 17 Aug 2003 22:40:13 +0200, Alain GUERIN wrote: > Thanks. > > After failing with forms, I tried, without success, MessageBox and ReadLn > in a case where I want to simulate the box we have when we send a message > where the last lines are quoted: > > "Quoted text at the end of message. (Bad posting style) > Ignore these warning? > Yes No" > > and change, depending on the answer, the result of OnBeforeSendingMessage. > > Is there a solution or no way to have a message from a script that controls > in a post what I try to send or to save? The problem is that you can't use anything that has a graphical interface in script called from worker threads. This includes forms and MesssageBoxes. Further it's a bit too late to do these checks that need user intervention when the message is sent (when Dialog is about to open the connection to the remote server). I could add another event OnOutgoingMessageCheck where you could add your own checks to the ones Dialog makes. Marcus -- No replies in private e-mail, please, unless explicitly requested! Please log bug reports into Mantis: http://www.40tude.com/dialog/mantis/ Please share your scripts and tips: http://www.40tude.com/dialog/wiki/
Technical Details
Message-ID:
<1c4ud9il7jjpe.dlg@40tude.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mailReferences:
<1o2bqpr38oqe6$.dlg@alain-gueirn.com> <2siyvb5n089n.dlg@40tude.com> <1avd8gf1qk7lz$.dlg@alain-gueirn.com> <xmnwnv7uey5$.dlg@40tude.com> <d5zmkzjhnqk8$.dlg@alain-gueirn.com>Show Full Headers
Complete Article Headers
Message-ID: <1c4ud9il7jjpe.dlg@40tude.com>
Subject: Re: [Dialog] Application.Mainform bad behaviour
Date: Sun, 17 Aug 2003 23:25:04 +0200
From: Marcus Mönnig <usenet-august03@40tude.com>
References: <1o2bqpr38oqe6$.dlg@alain-gueirn.com> <2siyvb5n089n.dlg@40tude.com> <1avd8gf1qk7lz$.dlg@alain-gueirn.com> <xmnwnv7uey5$.dlg@40tude.com> <d5zmkzjhnqk8$.dlg@alain-gueirn.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
Newsgroups: news.software.readers
Organization: T-Online
Lines: 32
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.t-online.com 1061155470 02 17066 TeqdVqvESAYM69 030817 21:24:30
X-Complaints-To: usenet-abuse@t-online.de
X-ID: V3PLXMZBgeOX9Paipjt7IgnQRE+jZGbk7YE8nD4D2AJH4UrUfHbeZC
User-Agent: 40tude_Dialog/2.0.5.124 (bfad6354.334.340)
X-Face: .k.-$2:"SOnv`$+._5GWLVbo=\AYg!R'T#G[$P`Chd0T$NtF2}68aF}1gRDrxTQi']7Ldza n{+d:rTHS*nc<xt?o:zVx>3P$=`rx}:o1!BA'OmJn(lR=Y%mG{*T#D-B02=:Dh0138$V