I’m testing the 3.0 version, and i need to know
if there is any way to get the height and width of a form,
My intention is to resize the window to which the form is inserted.
The structure of the form is done with XML.
Thanks Sematik,
Works great, but it should be noted that the functions must be inserted into an event as “onXLE”,
EX:
"myForm = w1.attachForm();
"myForm.loadStruct(“test.pl?action=dsp&e=”+new Date().getTime());
myform.attachEvent(“onXLE”, function (){
width = myForm.cont.firstChild.offsetWidth;
height = myForm.cont.firstChild.offsetHeight;
});
JDM
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan