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 |
1.02B1 - Using Dock property |
Wed, Jun 12 2013 10:17 AM | Permanent Link |
Christian Kaufmann | Dock is a great improvement but it does not always behave as expected.
Or maybe I expect the wrong behaviour: * For a TLabel with Dock=dtRight and Top=5, Top is set to 0 during align. Also Height cannot be changed for a TLabel. Therefore I cannot place the label in the middle/right side of a TPanel * When I set a TImage.Dock=dtRight, I cannot change the Width anymore (in Object inspector) .. * The TPanel.OnResize happens before child controls are docked correctly. So where do I put code, that is called after this happened? E.g. because I need to place a control based on the position of a docked control. * Margins (like in Delphi): This would be perfect... cu Christian |
Wed, Jun 12 2013 1:54 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Christian,
<< * For a TLabel with Dock=dtRight and Top=5, Top is set to 0 during align. Also Height cannot be changed for a TLabel. Therefore I cannot place the label in the middle/right side of a TPanel >> Docking <> anchoring: when you dock something to the right, it will then consume all available space on the right from top to bottom. << * When I set a TImage.Dock=dtRight, I cannot change the Width anymore (in Object inspector) >> I'm not seeing this here. Can you send me a project that reproduces what you're seeing ? << * The TPanel.OnResize happens before child controls are docked correctly. So where do I put code, that is called after this happened? E.g. because I need to place a control based on the position of a docked control. >> That's not what I'm seeing here, or what the code indicates (TControl.ApplyBounds): if TempSize and NotifyChanges then begin SizeChanged; <<< Actual resizing DoResize; <<< Calls the event handler end; << * Margins (like in Delphi): This would be perfect... >> Anchoring and margins are coming next. Tim Young Elevate Software www.elevatesoft.com |
Thu, Jun 13 2013 2:52 AM | Permanent Link |
Christian Kaufmann | >Docking <> anchoring: when you dock something to the right, it will then
>consume all available space on the right from top to bottom. You are right, I missed that. So my problem is that there is no VerticalAligment (Layout) property for TLabel. >I'm not seeing this here. Can you send me a project that reproduces what >you're seeing ? I think the problem is, that my TLabel and TImage initially have Visible=False. Then docking is not done in the IDE. >That's not what I'm seeing here, or what the code indicates >(TControl.ApplyBounds): Not sure, what I changed - First the event was not fireing at all, but now it works. >Anchoring and margins are coming next. Great! I really like your tool. Somehow it feels like 15 years ago with Delphi 1: Coming from Dos/Clipper I was looking for a tool to write Windows programs. I tried different ones before Delphi - everthing was a nightmare. With your Web Builder it's the first time I could think of having fun when writting a web application! cu Christian |
Fri, Jun 14 2013 1:56 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Christian,
<< I think the problem is, that my TLabel and TImage initially have Visible=False. Then docking is not done in the IDE. >> Yes, this is fixed now, and will be in the next build. << I really like your tool. Somehow it feels like 15 years ago with Delphi 1: Coming from Dos/Clipper I was looking for a tool to write Windows programs. I tried different ones before Delphi - everthing was a nightmare. >> Yeah, same here. << With your Web Builder it's the first time I could think of having fun when writting a web application! >> It's a got some ways to go, but it's getting there. Thanks, Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Friday, November 1, 2024 at 07:01 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |