![]() ![]() WP recommendation of a seperate process is a good one and can be used to simulate multiple threading. DoEvents, in my opinion, is a command that should only be used when absolutly neccesary (such as allowing a screen to refresh while performing an intense looping function) since it raises several other issues that have been addresses here in a previous thread. RE: Threads in VB WP (Programmer) 10 May 01 05:05Īctually, what DoEvents does is to relinquish control of the cuurent thread (remember that VB is single threaded) and allow it to process any pending messages in the current process' event queue. ![]() ImgMaantje(0).Picture = imgMaantje(frmNr).Picture Invisible).I have already tried to put a doEvents Waits till the data transfer is completed, whereafter itĬontinues spinning (while the form is already The timer starts on frmWaiting and the moon changes onceįrom position (frmNr becomes 1) but then it stops and So on the frmWaiting form I placed a timer, and it lets the moon spin around.My frmWaiting form works perfect seperately.īut this is what happens when I add the form to my project: But the problem is, in the frmWaiting I want an animation to happen (I have a little moon spinning around) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |