<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[My Visual Database — Uses and multiple instances of an event]]></title>
		<link>https://myvisualdatabase.com/forum/viewtopic.php?id=9041</link>
		<atom:link href="https://myvisualdatabase.com/forum/extern.php?action=feed&amp;tid=9041&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Uses and multiple instances of an event.]]></description>
		<lastBuildDate>Thu, 05 Sep 2024 09:00:37 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Uses and multiple instances of an event]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=51472#p51472</link>
			<description><![CDATA[<p>Hi Sparrow,</p><br /><p>Thank you very much for the advice....&nbsp; and thank you for your time.<br />Truly appreciated....</p>]]></description>
			<author><![CDATA[null@example.com (AD1408)]]></author>
			<pubDate>Thu, 05 Sep 2024 09:00:37 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=51472#p51472</guid>
		</item>
		<item>
			<title><![CDATA[Re: Uses and multiple instances of an event]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=51471#p51471</link>
			<description><![CDATA[<p>Each .pas file must end with a section</p><div class="codebox"><pre><code>begin

end.</code></pre></div><p>For example<br />calc.pas<br /></p><div class="codebox"><pre><code>function mult(x, y: integer): integer;
begin
result := 0;
if (x &lt;&gt; 0) and (y &lt;&gt; 0) then result := x * y;
end;

begin

end.</code></pre></div><p>Be careful when using this method. At the compilation stage, MVD does not indicate in which module the error occurred. I would advise you to do everything in the default script at the debugging and writing stage and only at the final stage distribute everything among modules.</p>]]></description>
			<author><![CDATA[null@example.com (sparrow)]]></author>
			<pubDate>Thu, 05 Sep 2024 08:02:12 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=51471#p51471</guid>
		</item>
		<item>
			<title><![CDATA[Uses and multiple instances of an event]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=51470#p51470</link>
			<description><![CDATA[<p>Trying to make use of &#039;USES&#039; function as I start to like it.<br />I tried to implement multiple instances of &#039;Form1_OnShow&#039; event as:<br /></p><div class="codebox"><pre><code>procedure Form1_OnShow (Sender: string; Action: string);
begin
Frm1onShow1;  // Calendar
Frm1onShow2;  // General + RTF Font
Frm1onShow3;  // password
Frm1onShow4; // Menu</code></pre></div><p>with the following .pas files:<br />&#039;calend.pas&#039;,&nbsp; // Calendar code<br />&#039;passw.pas&#039;,&nbsp; // Password code<br />&#039;menu.pas&#039;;&nbsp; // Menu code</p><br /><p>However, couldn&#039;t get it working. It&#039;s coming up with script error saying &#039;BEGIN expected at ...&#039;<br />Please see the attached app.</p>]]></description>
			<author><![CDATA[null@example.com (AD1408)]]></author>
			<pubDate>Wed, 04 Sep 2024 22:48:32 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=51470#p51470</guid>
		</item>
	</channel>
</rss>
