<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Graph Forums — Graph.OnNewElem doesn't register on pasted elements?]]></title>
	<link rel="self" href="https://forum.padowan.dk/extern.php?action=feed&amp;tid=771&amp;type=atom"/>
	<updated>2013-02-18T14:49:43Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.padowan.dk/viewtopic.php?id=771</id>
		<entry>
			<title type="html"><![CDATA[Re: Graph.OnNewElem doesn't register on pasted elements?]]></title>
			<link rel="alternate" href="https://forum.padowan.dk/viewtopic.php?pid=2197#p2197"/>
			<content type="html"><![CDATA[<p>thanks!</p>]]></content>
			<author>
				<name><![CDATA[GraphUser3546]]></name>
				<uri>https://forum.padowan.dk/profile.php?id=26856</uri>
			</author>
			<updated>2013-02-18T14:49:43Z</updated>
			<id>https://forum.padowan.dk/viewtopic.php?pid=2197#p2197</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Graph.OnNewElem doesn't register on pasted elements?]]></title>
			<link rel="alternate" href="https://forum.padowan.dk/viewtopic.php?pid=2190#p2190"/>
			<content type="html"><![CDATA[<p>You are right. I must have missed that. I can see that <em>Import Graph file</em> has the same problem. I will fix it for both of them in the next beta version.</p>]]></content>
			<author>
				<name><![CDATA[Ivan Johansen]]></name>
				<uri>https://forum.padowan.dk/profile.php?id=2</uri>
			</author>
			<updated>2013-02-17T22:50:34Z</updated>
			<id>https://forum.padowan.dk/viewtopic.php?pid=2190#p2190</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Graph.OnNewElem doesn't register on pasted elements?]]></title>
			<link rel="alternate" href="https://forum.padowan.dk/viewtopic.php?pid=2179#p2179"/>
			<content type="html"><![CDATA[<p>Here&#039;s a new issue : I think that &quot;Import &gt;&gt; Point series&quot; doesn&#039;t register in the &quot;OnNewElem&quot; event.</p><p>I believe it&#039;d be logical if it was registered.</p>]]></content>
			<author>
				<name><![CDATA[GraphUser3546]]></name>
				<uri>https://forum.padowan.dk/profile.php?id=26856</uri>
			</author>
			<updated>2013-02-14T22:29:12Z</updated>
			<id>https://forum.padowan.dk/viewtopic.php?pid=2179#p2179</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Graph.OnNewElem doesn't register on pasted elements?]]></title>
			<link rel="alternate" href="https://forum.padowan.dk/viewtopic.php?pid=2146#p2146"/>
			<content type="html"><![CDATA[<p>It works! 10 points for you good sir!</p>]]></content>
			<author>
				<name><![CDATA[GraphUser3546]]></name>
				<uri>https://forum.padowan.dk/profile.php?id=26856</uri>
			</author>
			<updated>2013-01-30T16:53:36Z</updated>
			<id>https://forum.padowan.dk/viewtopic.php?pid=2146#p2146</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Graph.OnNewElem doesn't register on pasted elements?]]></title>
			<link rel="alternate" href="https://forum.padowan.dk/viewtopic.php?pid=2145#p2145"/>
			<content type="html"><![CDATA[<p>great! thanks, I&#039;ll test this soon enough (and get back to you about dealing with lots of points and 0 undo-steps)</p>]]></content>
			<author>
				<name><![CDATA[GraphUser3546]]></name>
				<uri>https://forum.padowan.dk/profile.php?id=26856</uri>
			</author>
			<updated>2013-01-29T18:41:09Z</updated>
			<id>https://forum.padowan.dk/viewtopic.php?pid=2145#p2145</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Graph.OnNewElem doesn't register on pasted elements?]]></title>
			<link rel="alternate" href="https://forum.padowan.dk/viewtopic.php?pid=2140#p2140"/>
			<content type="html"><![CDATA[<p>I have fixed the problem where OnNewElem is not called when pasting and for undo/redo in the beta version of Graph 4.5. You can find it at <a href="http://padowan.dk/graph/DownloadBeta.php">http://padowan.dk/graph/DownloadBeta.php</a></p>]]></content>
			<author>
				<name><![CDATA[Ivan Johansen]]></name>
				<uri>https://forum.padowan.dk/profile.php?id=2</uri>
			</author>
			<updated>2013-01-29T12:22:47Z</updated>
			<id>https://forum.padowan.dk/viewtopic.php?pid=2140#p2140</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Graph.OnNewElem doesn't register on pasted elements?]]></title>
			<link rel="alternate" href="https://forum.padowan.dk/viewtopic.php?pid=2111#p2111"/>
			<content type="html"><![CDATA[<p>Thanks for the confirmation.</p>]]></content>
			<author>
				<name><![CDATA[GraphUser3546]]></name>
				<uri>https://forum.padowan.dk/profile.php?id=26856</uri>
			</author>
			<updated>2013-01-14T19:39:20Z</updated>
			<id>https://forum.padowan.dk/viewtopic.php?pid=2111#p2111</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Graph.OnNewElem doesn't register on pasted elements?]]></title>
			<link rel="alternate" href="https://forum.padowan.dk/viewtopic.php?pid=2110#p2110"/>
			<content type="html"><![CDATA[<p>I think that you are correct, that OnNewElem is not called when pasting elements. I will fix that in the next version.</p>]]></content>
			<author>
				<name><![CDATA[Ivan Johansen]]></name>
				<uri>https://forum.padowan.dk/profile.php?id=2</uri>
			</author>
			<updated>2013-01-14T08:00:12Z</updated>
			<id>https://forum.padowan.dk/viewtopic.php?pid=2110#p2110</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Graph.OnNewElem doesn't register on pasted elements?]]></title>
			<link rel="alternate" href="https://forum.padowan.dk/viewtopic.php?pid=2105#p2105"/>
			<content type="html"><![CDATA[<p>Greetings,</p><p>My topic title says it all. But I like to overexplain stuff <img src="https://forum.padowan.dk/img/smilies/wink.png" width="15" height="15" alt="wink" /> Here:</p><p>I verify that a script action meets the conditions to be Enabled when FunctionList elements are added, or removed.</p><p>It works for creation (OnNewElem), deletion (OnDelete) and cutting to clipboard (I guess it registers in OnDelete), but it doesn&#039;t work for pasting a new element in the grf file.</p><p>Is it possible that Graph.OnNewElem isn&#039;t executed when a new element is pasted from the clipboard?</p><p>Thanks for the help!</p><div class="codebox"><pre><code>Action = Graph.CreateAction(Caption=&quot;Y-Offset Unit PtSeries&quot;, OnExecute=Execute, Hint=&quot;&quot;)
Graph.AddActionToMainMenu(Action)
Graph.OnNew.append(VerifActiverYOffset)
Graph.OnNewElem.append(VerifActiverYOffset)
Graph.OnDelete.append(VerifActiverYOffsetOnDelete)</code></pre></div>]]></content>
			<author>
				<name><![CDATA[GraphUser3546]]></name>
				<uri>https://forum.padowan.dk/profile.php?id=26856</uri>
			</author>
			<updated>2013-01-11T21:54:43Z</updated>
			<id>https://forum.padowan.dk/viewtopic.php?pid=2105#p2105</id>
		</entry>
</feed>
