Forum > Graphics
TStatusBar.Color OK in Objects' Inspector but doesn't work at runtime
(1/1)
jipété:
Hello,
As shown in attached image, Color of the StatusBar is OK on left side (designtime) but not on right side, runtime on top and designtime on bottom, below the ShellTreeView.
I check "ParentColor = True" for both components, handled by a yellow TPanel.
And...
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---procedure TForm1.FormCreate(Sender: TObject);begin stb.Color := clYellow; // ... does not workend;
Regards,
Linux Debian 11.9 GTK 2.8 FPC 3.2.2 Laz 3.4
phidel:
try this component
TeroSubtitler/TeroSubtitler/controls/UWStatusBar.pas
It has an own paint procedure
Navigation
[0] Message Index