Article View: be.comp.programming
Article #4428Re: Application.DoEvents()
From: Rollo Tomasi
Date: Sun, 17 Aug 2003 17:17
Date: Sun, 17 Aug 2003 17:17
18 lines
1803 bytes
1803 bytes
Roxxe wrote: > wat doet dit stukje code in vb.net ? http://msdn.microsoft.com/library/default.asp?url=/library-us/cpref/html/frlrfsystemwindowsformsapplicationclassdoeventstopic.asp DoEvents is vooral nuttig als je een procedure gebruikt die enige tijd in beslag neemt (bijvoorbeeld een lange wiskundige berekening). Zonder DoEvents zou het lijken alsof je venster "bevroren" is, net alsof je programma vastloopt, omdat het tijdelijk met een bepaald routine bezig is en dus niet op gebeurtenissen kan reageren. Zorg er dus voor in zulke procedures dat DoEvents regelmatig (meerdere keren per seconde) eens opgeroepen wordt. -- Rollo Tomasi
Technical Details
Message-ID:
<YMO%a.5191$YY3.837678174@hestia.telenet-ops.be>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!skynet.be!skynet.be!aotearoa.belnet.be!news.belnet.be!ossa.telenet-ops.be!hestia.telenet-ops.be.POSTED!not-for-mailReferences:
<AqN%a.71867$F92.8373@afrodite.telenet-ops.be>Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: fcea4,4800443cced4b9b7 X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2003-08-17 18:18:07 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!skynet.be!skynet.be!aotearoa.belnet.be!news.belnet.be!ossa.telenet-ops.be!hestia.telenet-ops.be.POSTED!not-for-mail From: "Rollo Tomasi" <nospam@anyhost.com> Newsgroups: be.comp.programming References: <AqN%a.71867$F92.8373@afrodite.telenet-ops.be> Subject: Re: Application.DoEvents() Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1123 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1123 Message-ID: <YMO%a.5191$YY3.837678174@hestia.telenet-ops.be> Date: Sun, 17 Aug 2003 17:17:44 GMT NNTP-Posting-Host: 213.118.218.41 X-Complaints-To: abuse@telenet.be X-Trace: hestia.telenet-ops.be 1061140664 213.118.218.41 (Sun, 17 Aug 2003 19:17:44 CEST) NNTP-Posting-Date: Sun, 17 Aug 2003 19:17:44 CEST Organization: Telenet Internet