Thread View: be.comp.programming
2 messages
2 total messages
Started by Roxxe
Sun, 17 Aug 2003 15:45
Application.DoEvents()
Author: Roxxe
Date: Sun, 17 Aug 2003 15:45
Date: Sun, 17 Aug 2003 15:45
1 lines
1121 bytes
1121 bytes
wat doet dit stukje code in vb.net ?
Re: Application.DoEvents()
Author: 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
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