Hello,
I’m using dhtmlxToolbar with buttonselect. I need to build application with multiple windows, and I have few problems using it :
-
I wonder how to make the options were not left behind when i move the window
-
when i use 3 or more windows using toolbar with buttonselect, i cannot select the option (like it was disabled).
Later i find that the problem is the option was located behind the window
var dhxWins = new dhtmlXWindows();
var mywin=[];
var mylayout=[];
var mytoolbar=[];
var Opts;
dhxWins.setImagePath("../../codebase/imgs/");
Opts = Array(Array('one', 'obj', 'One', ''), Array('two', 'obj', 'Two', ''), Array('three', 'obj', 'Three', ''), Array('four', 'obj', 'Four', ''));
for (var i=1;i<=3;i++)
{
mywin[i] = dhxWins.createWindow("win" +i, 20 + (i-1)*300, 30, 300, 300);
mywin[i].setText("Win " +i) ;
mylayout[i] =mywin[i].attachLayout("2E");
mylayout[i].cells("a").setText("");
mylayout[i].cells("b").setText("");
mytoolbar[i] = mylayout[i].cells("a").attachToolbar();
mytoolbar[i].addButtonSelect("brcbo", 1, "One",Opts, "", "");
}
Any one know how to solve this? Any help would be appreciated,
Thanks a lot
Regards,
Rika