Update text in Statusbar is not showing changes in first panel with different VCL theme used
<p>I have a statusbar with 3 panels. When I change the text of them in runtime, it is not changed in the first one (index 0).</p>

<p>I see, this is happening only if other VCL theme is chosen (f.e. Cyan Dusk).</p>

<p>Initial design texts are:</p>

<pre><code>StatusBar.Panels[0].Text := '1';
StatusBar.Panels[1].Text := '2';
StatusBar.Panels[2].Text := '3';
</code></pre>

<p>And in the runtime I changed it:</p>

<pre><code>StatusBar.Panels[0].Text := '11'; // this is not changed visually
StatusBar.Panels[1].Text := '22';
StatusBar.Panels[2].Text := '33';
</code></pre>

<p>I tried also all this code after, nothing worked:</p>

<pre><code>Application.ProcessMessages;
StatusBar.Refresh;
StatusBar.Update;
Refresh;
</code></pre>

<p>I tried it also in the blank new application, the same issue.</p>

<p>When I try to debug it, in Code Inspector I see, the value has been changed also for index 0.</p>

<p>Also I tried this:</p>

<pre><code>procedure TMainForm.StatusBarClick(Sender: TObject);
begin
  ShowMessage(StatusBar.Panels[0].Text); // 11
  ShowMessage(StatusBar.Panels[1].Text); // 22
  ShowMessage(StatusBar.Panels[2].Text); // 33
end;
</code></pre>

<p>But still in the Statusbar panel index 0 is only <code>1</code>.</p>

<p><strong>Note:</strong> this is happening only if different VCL theme is used.</p>

<p>Is this bug in VCL themes? How can I evoke to update changed text?</p>

<p><strong>UPDATE:</strong></p>

<p>When I set <code>StatusBar.StyleElements := StatusBar.StyleElements - [seClient];</code> it is working also for the first panel. But why without this it is working only for panels with index > 0?</p>