Page 1 of 1

scrollbar appeared

PostPosted: 09 Oct 2014 10:39
by mjq
Hi,

When I tried to show dialog which is created each time it was used,
scrollbar appeared in the dialog.

The dialog that I used contains 3 regions,
and the Align properties of each set to alTop, alClient, and alBottom.

Probably the inner process which set height is improper, I think.
Especially, such as in the case of containing the region of titlebar or button.


simple test case is here:
TestCase6.7z


Please fix it...

BTW, my environment is
CGDevTools: V2.3.0.60
IntraWeb: V14.0.32
browser: FireFox V32.0.3.

Re: scrollbar appeared

PostPosted: 09 Oct 2014 14:45
by Alexander Bulei
Hello,

Just call AjaxReRender with parameters....

delphi code
IWFrameRegion.AjaxReRender(True,False);


Best Regards.

Re: scrollbar appeared

PostPosted: 10 Oct 2014 10:23
by mjq
Hi,

My problem has solved by the method which you pointed out.

Honestly, I had a lot of troubles relating with this problem.
I'm happy to solve those.

Thank you so much.

Re: scrollbar appeared

PostPosted: 10 Oct 2014 10:26
by Alexander Bulei
Hi mjq,

Thank you so much.


You are wlecome ;)

Tip: When you need re-render the dialog, you should always use this method with ABrowserResize = True.

Best Regards.