Hello Sherzod!
Here you helped x11 with an UnimScrollbox:
Especially this part:
function painted(sender, eOpts)
{
sender.bodyElement.dom.setAttribute('style', 'overflow-y:auto !important');
sender.bodyElement.select('.x-dock .x-dock-vertical').setStyle('overflow-y', 'auto');
if (sender.floating) {
sender.floating.element.setStyle('height', 'auto');
}
}
I need this too, but the problem is, that I add objects on the scrollbox at runtime and the "painted" script doesn't fire. After that the problem comes back.
I've tried to call this after adding objects,
WITH UnimScrollBox1.JSInterface DO BEGIN
JSCode(#1'.bodyElement.dom.setAttribute("style", "overflow-y:auto !important");');
JSCode(#1'.bodyElement.select(".x-dock .x-dock-vertical").setStyle("overflow-y", "auto"); ');
JSCode('if ('#1'.floating) {'#1'.floating.element.setStyle("height", "auto");}');
END;
but there is a syntax-error in the 3rd line (Unexpected token '.').
I'm sure, you'll see my fault immediately!
Regards
Mike