<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Control When Events Are Handled</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2005/09/14/control-when-events-are-handled/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2005/09/14/control-when-events-are-handled/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Wed, 08 Feb 2012 23:58:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: jkpieterse</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/09/14/control-when-events-are-handled/#comment-15915</link>
		<dc:creator>jkpieterse</dc:creator>
		<pubDate>Wed, 14 Sep 2005 14:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1236#comment-15915</guid>
		<description>&lt;p&gt;Well, I guess it is mostly just about keeping stuff that belongs together in the same place, so indeed it is about mudolarity.&lt;/p&gt;
&lt;p&gt;I also like the idea to get the fact whether or not an event is enabled as a property of the class:&lt;/p&gt;
&lt;p&gt;MyObjFromClass.NoEvents=True&lt;/p&gt;
&lt;p&gt;This also means that when you apply it to a class, you will be disabling just for one instance of that class and not for all instances (which happens if you use a global variable), which gives you more control.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Well, I guess it is mostly just about keeping stuff that belongs together in the same place, so indeed it is about mudolarity.</p>
<p>I also like the idea to get the fact whether or not an event is enabled as a property of the class:</p>
<p>MyObjFromClass.NoEvents=True</p>
<p>This also means that when you apply it to a class, you will be disabling just for one instance of that class and not for all instances (which happens if you use a global variable), which gives you more control.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TJM</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/09/14/control-when-events-are-handled/#comment-15910</link>
		<dc:creator>TJM</dc:creator>
		<pubDate>Wed, 14 Sep 2005 11:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1236#comment-15910</guid>
		<description>&lt;p&gt;I guess my only question is in reality what&#039;s so bad about having the one global variable instead of one per class module? You admit to using it yourself and I know I do. I know it makes a module slightly less modular and is probably an affront to various syntax style rules but where else does it impact? I&#039;m sure you&#039;re right it&#039;s bad, just can&#039;t see why myself.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I guess my only question is in reality what&#8217;s so bad about having the one global variable instead of one per class module? You admit to using it yourself and I know I do. I know it makes a module slightly less modular and is probably an affront to various syntax style rules but where else does it impact? I&#8217;m sure you&#8217;re right it&#8217;s bad, just can&#8217;t see why myself.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

