How can I pass TcxLookupDBGridColumns[1] caption to dxstatusbar?
<p>My cxLookupComboBox1 has listed only two columns received from database table (company_id,company). KeyFieldnames is 'company_id'.</p>

<p>So I am trying to show the company name also but in the status bar like :</p>

<pre><code>dxStatusBar1.SimplePanelStyle.Text:=TcxLookupDBGridColumns[1].Caption; 
</code></pre>

<p>Unfortunately this does not work.
What am I missing ? How can I do this ?</p>