lstCall Example

The following program code demonstrates the use of the lstCall method in a hypothetical example of bringing back a list of user's keys and automatically filling a list box with data:

procedure TForm1.Button1Click(Sender: TObject);
begin
  RPCBroker1.RemoteProcedure := 'GET MY KEYS';
  RPCBroker1.lstCall(ListBox1.Items);
end;