Difference between revisions of "RPC HELP TRPCBroker Connected Example"
From VistApedia
(Created page with "<h2>Connected Example</h2> The following program code sets the Connected property to True: '''procedure''' TForm1.btnConnectClick(Sender: TObject); '''begin''' ...") |
(No difference)
|
Latest revision as of 17:10, 4 July 2015
Connected Example
The following program code sets the Connected property to True:
procedure TForm1.btnConnectClick(Sender: TObject); begin brkrRPCBroker1.Server := edtServer.Text; brkrRPCBroker1.ListenerPort := StrToInt(edtPort.Text); brkrRPCBroker1.Connected := True; end;
The Server and ListenerPort properties must be set at design or run-time before setting the Connected property to True.