Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Microsoft .Net & .Net Compact Framework
 Real-Time Graphics Tools for .Net (VB and C#)
 IsDesignMode

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
aschubert Posted - 07 Feb 2007 : 16:44:46
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
1   L A T E S T    R E P L I E S    (Newest First)
quinncurtis Posted - 08 Feb 2007 : 09:17:11
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.

Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07