🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.nativeapi
Article #10

Re: InputBox causes EInvalidOperation ('Canvas does not allow drawing')

#10
From: John Herbster TeamB
Date: Thu, 21 Aug 2003 22:09
12 lines
1792 bytes
"Valentin Tihomirov" <valentin@abelectron.com> wrote
> Surprise. I'm using Dialogs.InputBox not from MainVCLThread + Delphi 5. How do my thread gets string input from user?

Perhaps by using Windows MessageBox.  I have never had a non-VCL thread wait for input from a user.  See http://tinyurl.com/krzr it is short for http://groups.google.com/groups?q=%22Canvas+does+not+allow+drawing%22+delphi+EInvalidOperation+thread
for this and other ideas.  

Regards, JohnH
Technical Details
Message-ID: <3f45421f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f453d13@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109d30,e746b51071bcf74e
X-Google-Attributes: gid109d30,public
X-Google-Thread: f94dd,e746b51071bcf74e
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2003-08-21 15:09:34 PST
From: "John Herbster \(TeamB\)" <herb-sci1_at_sbcglobal.net>
Newsgroups: borland.public.delphi.nativeapi,borland.public.delphi.language.objectpascal
References: <3f453d13@newsgroups.borland.com>
Subject: Re: InputBox causes EInvalidOperation ('Canvas does not allow drawing')
Date: Thu, 21 Aug 2003 17:09:27 -0500
Lines: 12
MIME-Version: 1.0
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 65.69.10.166
Message-ID: <3f45421f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1061503519 65.69.10.166 (21 Aug 2003 15:05:19 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail