<?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=TORComboBox_Example</id>
	<title>TORComboBox Example - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://vistapedia.com/index.php?action=history&amp;feed=atom&amp;title=TORComboBox_Example"/>
	<link rel="alternate" type="text/html" href="https://vistapedia.com/index.php?title=TORComboBox_Example&amp;action=history"/>
	<updated>2026-04-21T20:28:48Z</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=TORComboBox_Example&amp;diff=9488&amp;oldid=prev</id>
		<title>Kdtop at 22:20, 22 July 2008</title>
		<link rel="alternate" type="text/html" href="https://vistapedia.com/index.php?title=TORComboBox_Example&amp;diff=9488&amp;oldid=prev"/>
		<updated>2008-07-22T22:20:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Here is an example from CPRS of how patients are selected by starting to type in the name, and the list of available entries is retrieved from the server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  TORComboBox&lt;br /&gt;
  &lt;br /&gt;
  Event OnNeedData&lt;br /&gt;
  --&amp;gt; cboPatientNeedData&lt;br /&gt;
  &lt;br /&gt;
  procedure TfrmPtLabelPrint.cboPatientNeedData(Sender: TObject;&lt;br /&gt;
                                                const StartFrom: String; &lt;br /&gt;
                                                Direction, InsertAt: Integer);&lt;br /&gt;
  ...&lt;br /&gt;
        PatientList.Assign(SubSetOfPatients(NoAlias, Direction));&lt;br /&gt;
  ...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  {found in rCore}&lt;br /&gt;
  function SubSetOfPatients(const StartFrom: string; Direction: Integer): TStrings;&lt;br /&gt;
  { returns a pointer to a list of patients (for use in a long list box) -  The return value is&lt;br /&gt;
    a pointer to RPCBrokerV.Results, so the data must be used BEFORE the next broker call! }&lt;br /&gt;
  begin&lt;br /&gt;
    CallV(&amp;#039;ORWPT LIST ALL&amp;#039;, [StartFrom, Direction]);&lt;br /&gt;
    MixedCaseList(RPCBrokerV.Results);&lt;br /&gt;
    Result := RPCBrokerV.Results;&lt;br /&gt;
  end;&lt;br /&gt;
&lt;br /&gt;
  Pretty sure the returned format it:&lt;br /&gt;
  &lt;br /&gt;
  IEN^Name&lt;br /&gt;
  IEN^Name&lt;br /&gt;
  IEN^Name&lt;/div&gt;</summary>
		<author><name>Kdtop</name></author>
	</entry>
</feed>