<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://vistapedia.com/index.php?action=history&amp;feed=atom&amp;title=RPC_HELP_TParams_Example</id>
	<title>RPC HELP TParams Example - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://vistapedia.com/index.php?action=history&amp;feed=atom&amp;title=RPC_HELP_TParams_Example"/>
	<link rel="alternate" type="text/html" href="https://vistapedia.com/index.php?title=RPC_HELP_TParams_Example&amp;action=history"/>
	<updated>2026-05-01T17:59:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://vistapedia.com/index.php?title=RPC_HELP_TParams_Example&amp;diff=16508&amp;oldid=prev</id>
		<title>Kdtop: Created page with &quot;&lt;h2&gt;TParams Example (TParams Class)&lt;/h2&gt; The following program code demonstrates how a TParams assign method can be used to save off the [[RPC_HELP_TRPCB|...&quot;</title>
		<link rel="alternate" type="text/html" href="https://vistapedia.com/index.php?title=RPC_HELP_TParams_Example&amp;diff=16508&amp;oldid=prev"/>
		<updated>2015-07-04T01:29:32Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;h2&amp;gt;TParams Example (TParams Class)&amp;lt;/h2&amp;gt; The following program code demonstrates how a &lt;a href=&quot;/index.php/RPC_HELP_TParams&quot; title=&quot;RPC HELP TParams&quot;&gt;TParams&lt;/a&gt; assign method can be used to save off the [[RPC_HELP_TRPCB|...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;h2&amp;gt;TParams Example (TParams Class)&amp;lt;/h2&amp;gt;&lt;br /&gt;
The following program code demonstrates how a [[RPC_HELP_TParams|TParams]] assign method can be used to save off the [[RPC_HELP_TRPCB|TRPCB]] component parameters and restore them later:&lt;br /&gt;
	&lt;br /&gt;
&lt;br /&gt;
    &amp;#039;&amp;#039;&amp;#039;procedure&amp;#039;&amp;#039;&amp;#039; TForm1.Button1Click(Sender: TObject);&lt;br /&gt;
    &amp;#039;&amp;#039;&amp;#039;var&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
      SaveParams: TParams;&lt;br /&gt;
      SaveRemoteProcedure: string;&lt;br /&gt;
    &amp;#039;&amp;#039;&amp;#039;begin&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
      {create holding variable with Form1 as owner}&lt;br /&gt;
      SaveParams := TParams.Create(self);&lt;br /&gt;
      {save parameters}&lt;br /&gt;
      SaveParams.Assign(brkrRPCBroker1.Param);&lt;br /&gt;
      SaveRemoteProcedure := brkrRPCBroker1.RemoteProcedure;&lt;br /&gt;
      brkrRPCBroker1.RemoteProcedure := &amp;#039;SOME OTHER PROCEDURE&amp;#039;;&lt;br /&gt;
      brkrRPCBroker1.ClearParameters := True;&lt;br /&gt;
      brkrRPCBroker1.Call;&lt;br /&gt;
      {restore parameters}&lt;br /&gt;
      brkrRPCBroker1.Param.Assign(SaveParams);&lt;br /&gt;
      brkrRPCBroker1.RemoteProcedure := SaveRemoteProcedure;&lt;br /&gt;
      {release memory}&lt;br /&gt;
      SaveParams.Free;&lt;br /&gt;
    &amp;#039;&amp;#039;&amp;#039;end;&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;</summary>
		<author><name>Kdtop</name></author>
	</entry>
</feed>