<?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_Broker_TParamRecord_Example</id>
	<title>RPC Broker TParamRecord 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_Broker_TParamRecord_Example"/>
	<link rel="alternate" type="text/html" href="https://vistapedia.com/index.php?title=RPC_Broker_TParamRecord_Example&amp;action=history"/>
	<updated>2026-05-01T17:07:37Z</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_Broker_TParamRecord_Example&amp;diff=16499&amp;oldid=prev</id>
		<title>Kdtop: Created page with &quot;&lt;h2&gt;TParamRecord Example&lt;/h2&gt;  The following program code demonstrates how you can use a TParamRecord variable to save a copy of a single parameter of a [[RPC_HELP_TRPCBroker|...&quot;</title>
		<link rel="alternate" type="text/html" href="https://vistapedia.com/index.php?title=RPC_Broker_TParamRecord_Example&amp;diff=16499&amp;oldid=prev"/>
		<updated>2015-07-04T00:55:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;h2&amp;gt;TParamRecord Example&amp;lt;/h2&amp;gt;  The following program code demonstrates how you can use a TParamRecord variable to save a copy of a single parameter of a [[RPC_HELP_TRPCBroker|...&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;TParamRecord Example&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following program code demonstrates how you can use a TParamRecord variable to save a copy of a single parameter of a [[RPC_HELP_TRPCBroker|TRPCBroker]] component. This example assumes that prior to calling this procedure, a TRPCBroker variable has been created and some parameters have been set up. Pay close attention to how properties are copied one at a time. This is the only way that a separate copy could be created. If you try to simply assign one of the TRPCBroker parameters to the TParamRecord variable, you’ll simply re-point the TParamRecord variable to that parameter:&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;
      ParamRecord: TParamRecord;&lt;br /&gt;
    &amp;#039;&amp;#039;&amp;#039;begin&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
      {Create ParamRecord. Make Form1 its owner}&lt;br /&gt;
      ParamRecord := TParamRecord.Create(Form1);&lt;br /&gt;
      {Store properties one at a time}&lt;br /&gt;
      ParamRecord.Value := RPCBroker.Param[0].Value;&lt;br /&gt;
      ParamRecord.PType := RPCBroker.Param[0].PType;&lt;br /&gt;
      {This is how to copy a Mult}&lt;br /&gt;
      ParamRecord.Mult.Assign(RPCBroker.Param[0].Mult);&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>