Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 4 of 4 total |
TForm and AutoSize |
Fri, Jul 21 2017 7:08 AM | Permanent Link |
Uli Becker | There is no published property "AutoSize" for TForm, but I can set
MyForm.AutoSize.Height := true; at runtime. Doing the form resizes to 0. I guess the autosize functionality hasn't been completed yet, has it? Would be great to have it though! Thanks Uli |
Fri, Jul 21 2017 10:18 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Uli,
<< There is no published property "AutoSize" for TForm, but I can set MyForm.AutoSize.Height := true; at runtime. Doing the form resizes to 0. >> Is there anything on the form ? If so, then that is why it's "empty" in terms of auto-sizing. I'm not entirely sure why I didn't enabled auto-sizing for the forms, but I'm pretty sure that it has to do with the scrollbar usage and the fact that I didn't test it completely with the scrollbars yet. Tim Young Elevate Software www.elevatesoft.com |
Fri, Jul 21 2017 1:33 PM | Permanent Link |
Uli Becker | Tim,
> Is there anything on the form ? If so, then that is why it's "empty" in terms of auto-sizing. Yes, sure. I put a TBasicPanel on it with Layout.Position = lpTopLeft and Layout.Consumption = lcBottom. > I'm not entirely sure why I didn't enabled auto-sizing for the forms, but I'm pretty sure that it has to do with the scrollbar usage and the fact that I didn't test it completely with the scrollbars yet. OK, I see. As I said: that would be a big timesaver and save a lot of nested calculations. Thanks Uli |
Mon, Jul 24 2017 10:54 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Uli,
<< Yes, sure. I put a TBasicPanel on it with Layout.Position = lpTopLeft and Layout.Consumption = lcBottom. >> Yeah, that's why it never happened - the form control interfaces have to change a bit to accommodate the nested auto-sizing, and those changes haven't been made yet. I'll see if I can get to them in 2.07 (they'll be a breaking change, of course). Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Wednesday, April 17, 2024 at 10:35 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |