statusbar

Hi,

i’m trying to attach a statusbar to a window. I use this codes:









var w2 = dhxWins.createWindow(“w2”,0,0,200,200);

w2.setText(“showNotes”);

var stausBar = w2.attachStatusBar();

statusBar.setText(“Test”);



and i have this error:



uncaught exception: [Exception… “Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLDivElement.appendChild]” nsresult: “0x80004003 (NS_ERROR_INVALID_POINTER)” location: “JS frame :: …/dhtmlx/dhtmlxwindows_sb.js :: anonymous :: line 28” data: no]



Can you help me?

Thanks in advance!

pyt

Hello,

All work fine on our side. Here is a demo:
dhtmlx.com/docs/products/dhtmlxW … 2111395000
Could you please provide completed demo?

It works.Thank you.
Is it possible to change the style and font of text in statusbar?

Edit the dhtmlxwindows_dhx_blue.css file, find here:

div.dhtmlxWebStatusBarInWin_dhx_blue {
    …