![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 8 of 8 total |
![]() |
Fri, Nov 3 2017 1:10 PM | Permanent Link |
Pasquale Web Pos srl | I have attached a defect screen that I can not delete. In practice, when the panels move because of the responsive, the center panel does not lengthen automatically what settings should be given to function properly? I tried to set on the AutoSize Height true panel but I get results that the forms that appear in this central panel do not come out . Attachments: Immagine.png |
Fri, Nov 3 2017 1:32 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Pasquale,
<< In practice, when the panels move because of the responsive, the center panel does not lengthen automatically what settings should be given to function properly? I tried to set on the AutoSize Height true panel but I get results that the forms that appear in this central panel do not come out . >> AutoSize.Height is the correct property to set (True). Is the problem the bottom panel overlapping the middle panels ? If so, then please post the project here and we can tell you where you're going wrong. Tim Young Elevate Software www.elevatesoft.com |
Sat, Nov 4 2017 11:10 AM | Permanent Link |
Pasquale Web Pos srl | Hi Tim
attach the project . The problem is as follows: If I create panels in the runtime form on the center panel then the center panel extends itself. While calling a new form that creates panels then the central panel does not stretch. Tim Young [Elevate Software] wrote: Pasquale, << In practice, when the panels move because of the responsive, the center panel does not lengthen automatically what settings should be given to function properly? I tried to set on the AutoSize Height true panel but I get results that the forms that appear in this central panel do not come out . >> AutoSize.Height is the correct property to set (True). Is the problem the bottom panel overlapping the middle panels ? If so, then please post the project here and we can tell you where you're going wrong. Tim Young Elevate Software www.elevatesoft.com Attachments: ptestreposnive.zip |
Sat, Nov 4 2017 12:04 PM | Permanent Link |
Uli Becker | > If I create panels in the runtime form on the center panel then the center panel extends itself.
> > While calling a new form that creates panels then the central panel does not stretch. You have to set FormMenu.LayoutConsumption <> lcNone, otherwise AutoSize.Height of the central panel does not work. Uli |
Sun, Nov 5 2017 11:11 AM | Permanent Link |
Pasquale Web Pos srl | Uli
with your modify function only in part. the page only extends to the size of the form called . the form it does not automatically dimension , then if you try to set the bottomright on the called form then nothing works anymore . try also to set the second form of a certain size and see if the panel responds to what's going on . tks. Uli Becker wrote: > If I create panels in the runtime form on the center panel then the center panel extends itself. > > While calling a new form that creates panels then the central panel does not stretch. You have to set FormMenu.LayoutConsumption <> lcNone, otherwise AutoSize.Height of the central panel does not work. Uli |
Sun, Nov 5 2017 12:02 PM | Permanent Link |
Uli Becker | Pasquale,
> with your modify function only in part. > the page only extends to the size of the form called . What you need is an Autosize property for the form. Unfortunately this functionality has not been finished yet in the current version of EWB. As a workaround do this: 1. Create a BasicPanel on the form and use it as a parent for your controls. 2. Set the panel's layout.position to lpTopLeft and layout.stretch to lsRight (NOT lsBottomRight) 3. Set Autosize.Height to true That makes sure that the panel's height is always correct depending of its content. Now you have to adjust the form's height according to the panel's height: 4. In the OnShow event of the form (or whenever you have created new controls on runtime): FormMenu.Height := FormPanel.Height That should work. In a later version of EWB you will be able to skip this all and just set the form's autosize.height = true. @Tim: it would be great to have the AutoSize functionality with forms soon. ![]() Uli |
Sun, Nov 5 2017 2:02 PM | Permanent Link |
Pasquale Web Pos srl | ok
for now I solved it with your advice . tks Uli Becker wrote: Pasquale, > with your modify function only in part. > the page only extends to the size of the form called . What you need is an Autosize property for the form. Unfortunately this functionality has not been finished yet in the current version of EWB. As a workaround do this: 1. Create a BasicPanel on the form and use it as a parent for your controls. 2. Set the panel's layout.position to lpTopLeft and layout.stretch to lsRight (NOT lsBottomRight) 3. Set Autosize.Height to true That makes sure that the panel's height is always correct depending of its content. Now you have to adjust the form's height according to the panel's height: 4. In the OnShow event of the form (or whenever you have created new controls on runtime): FormMenu.Height := FormPanel.Height That should work. In a later version of EWB you will be able to skip this all and just set the form's autosize.height = true. @Tim: it would be great to have the AutoSize functionality with forms soon. ![]() Uli |
Mon, Nov 6 2017 11:34 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Uli,
<< @Tim: it would be great to have the AutoSize functionality with forms soon. ![]() I've yet to get the time to test it all out thoroughly. The issue is with the scrollbars that are bottom/right-positioned/stretched and their interaction with the auto-sizing. That's why basic panels are easy to deal with, there's no extra sub-controls that can cause issues. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Friday, December 1, 2023 at 06:01 PM | Privacy Policy![]() © 2023 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |