Forum  Commercial Foru...  Commercial Foru...  Timer Control behaviour
Previous Previous
 
Next Next
New Post 5/6/2011 4:15 AM
  ruifrazao
583 posts
www.e-grou.com
1st Level Poster


Timer Control behaviour 

I created the following sample project:

- the project has 2 forms (mainForm “Form1” and a dialog “Form2”);
- mainForm just have a button to open the dialog;
- the dialog “Form2” has a Timer control with an Tick event;
 
I did the following test:
1. I add a breakpoint in Tick event function;
2. Start application and click in button in mainForm to open the dialog “Form2”;
3. Close the dialog “Form2”.
 
After close the dialog “Form2” the application still running the Timer, and still stopping in breakpoint in Tick event function. This makes sense? If the Timer it is in a form that have been closed is not supposed to stop the timer?
 
I am testing Timer to try to found an way to use the ProgressBar control, but if the Timer still alive after close the dialog this are not an option.
 
All this tests have been done with VWG6.3.17.
 
Thanks & Regards,
Rui
 
 
e-grou Free Edition, your free document management online. Click here to subscribe e-grou Free Edition.
 
 
New Post 5/6/2011 3:14 PM
  palli
14298 posts
1st Level Poster




Re: Timer Control behaviour 

Hi Rui,

This is a known problem/fact. Please take a look at the Timer article here to see what needs to be done in each version of Visual WebGui.

Hope this helps,

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  Commercial Foru...  Commercial Foru...  Timer Control behaviour
.NET HTML5 Web, Cloud and Mobile application delivery | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2012 Visual WebGui®       Visual WebGui weblog on ASP.NET Gizmox Blog Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS