Page 1 of 1

Invisible region and align

PostPosted: 19 Oct 2016 17:08
by asp
Hi!
I've made a simple project. The form contains three regions aligned to the right, bottom and client. The bottom region is invisible by default. When the form is shown the bottom region is invisible, but the other regions are rendered as if the bottom one is visible.
Image

If you change the visibility of the region in runtime all will be rendered as intended.

Re: Invisible region and align

PostPosted: 19 Oct 2016 17:36
by Alexander Bulei
Hi asp,

Because you have Form.RenderInvisibleControls = True.

Best Regards.

Re: Invisible region and align

PostPosted: 20 Oct 2016 09:43
by asp
Hi, Alexander!

Alexander Bulei wrote:Hi asp,

Because you have Form.RenderInvisibleControls = True.

Best Regards.


Of course, I have! Because I want to toggle region's visibility in runtime, but I want it to be invisible on the first form render.

Re: Invisible region and align

PostPosted: 21 Oct 2016 12:24
by Alexander Bulei
Hi asp,

This problem is not related with us...
You can check the IWPure project in attachment.

Tip: Use the JQLayout for this purpose.

Best Regards.

Re: Invisible region and align

PostPosted: 21 Oct 2016 17:09
by asp
Thanks, Alexander!

I've already written to Alexandre Machado about this problem and he promised to investigate it.