Multiple dhxWins and different skins.

Hi,



I’ve been developing a map viewer tool using the DHTMLX framework. One of my colleagues is developing an application that uses the map tool I’ve developed. Both of us are using dhtmlxWindows.



I declare my dhtmlxWindows object as a member of my Map tool object like so:

this.dhx_map_wins = new dhtmlXWindows();

I am using the default skins, so I’m not touching any of those settings, and it’s using the default dhx_skyblue.



My colleague is declaring his dhtmlxWindows as global variable to his application like so:

var dhxWins = new dhtmlXWindows();

He is using the dhx_black skin and sets it in the following manner:

dhxWins.setSkin(“dhx_black”);



Now comes the problem, when, from one of his windows, he opens the map tool, the skin for his dhtmlxWindows object is changed to dhx_skyblue.



Is there a way to stop it from doing that?


Hello,


there can be only one skin for windows. Possibly this behaviour will be changed in the next version.