I have initialized the dhtmlxWindows in various situations and never had problems, however, when I try to initialize it associated with a Layout, the definition of ImagePath does not work.
var mainLayout;
var win_n;
function initMainLayout() {
mainLayout = new dhtmlXLayoutObject (document.body, “2E”);
…
}
function initWindowN(){
…
win_n = mainLayout.dhxWins.createWindow(‘nota_window’, 0, 0, 800, 430);
win_n.setImagePath(“…/incs/dhtmlxWindows/codebase/imgs/”);
…
}
The code above result in a “TypeError: win_n.setImagePath is not a function”
I will appreciate any orientation.