Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net & .Net Compact Framework
 Real-Time Graphics Tools for .Net (VB and C#)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  


7 Posts

Posted - 07 Feb 2007 :  16:44:46  Show Profile  Reply with Quote
the examples I received with my purchase of you product uses
'If Me.IsDesignMode Then' in the VB versions when dealing with the Timer.
When I try to check it out I see it is in com.quinncurtis.chart2dnet.ChartView.IsDesignMode().

The definition I get is "Specifies if the current instance is in design mode. "

What does design mode imply?

Thank You

Al Schubert


1571 Posts

Posted - 08 Feb 2007 :  09:17:11  Show Profile  Reply with Quote
When you place a control on a form in the VB IDE, you are instantiating (running the code) of the control, in "design mode". This is different than "run-time mode", where you are actually executing the program. We don't want our ChartView derived user controls exectuting real-time updates via the timer while in design mode. This can lead to errors that are hard to debug and which will prevent you from adding the control to a form. That's why you see that we use 'If Me.IsDesignMode Then' to skip real-time updates if the control is being used in "design mode".

If you want to read more about design mode vs run-time mode, just enter:

.net vb "design mode"

into google.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07