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 |
Responsive panel / grids |
Thu, Dec 12 2019 11:00 AM | Permanent Link |
Huseyin Aliz myBiss ApS | Hi All,
If i want to make a form with 2 panels, lets say left and right panels and width of these panels should be equal no matter what the form width changes to (browser resize). The panels contains a grid each and if grid width could be resized together with the panels i would be happy Regards, Huseyin |
Thu, Dec 12 2019 1:49 PM | Permanent Link |
Walter Matte Tactical Business Corporation | OnResize if you set the size of the LEFT Panel in code, the other panel would take care of itself
Left Panel Layout - Position Top Left - Stretch - Bottom - Consumption - Right Layout Order 0 Right Panel - Position Top Left - Stretch - Bottom Right Layout Order 1 Put a Grid into each panel Grid 1 and 2 Layout - Position Top Left - Stretch - Bottom Right OnResize of Form/Dialog procedure TForm1.Form1Size(Sender: TObject); begin pnlLeft.Width := trunc(self.width /2); end; Walter |
Thu, Dec 12 2019 1:54 PM | Permanent Link |
Walter Matte Tactical Business Corporation | See attached
Walter Matte wrote: OnResize if you set the size of the LEFT Panel in code, the other panel would take care of itself Left Panel Layout - Position Top Left - Stretch - Bottom - Consumption - Right Layout Order 0 Right Panel - Position Top Left - Stretch - Bottom Right Layout Order 1 Put a Grid into each panel Grid 1 and 2 Layout - Position Top Left - Stretch - Bottom Right OnResize of Form/Dialog procedure TForm1.Form1Size(Sender: TObject); begin pnlLeft.Width := trunc(self.width /2); end; Walter Attachments: PanelTest.zip |
Thu, Dec 12 2019 5:29 PM | Permanent Link |
Huseyin Aliz myBiss ApS | Walter,
Thanks, looks like just what I wanted Regards, Huseyin Den 12-12-2019 kl. 19:54 skrev Walter Matte: > See attached > > Walter Matte wrote: > > OnResize if you set the size of the LEFT Panel in code, the other panel would take care of itself > > > > Left Panel > > Layout > - Position Top Left > - Stretch - Bottom > - Consumption - Right > Layout Order 0 > > Right Panel > - Position Top Left > - Stretch - Bottom Right > Layout Order 1 > > > Put a Grid into each panel > Grid 1 and 2 > Layout > - Position Top Left > - Stretch - Bottom Right > > > OnResize of Form/Dialog > > > procedure TForm1.Form1Size(Sender: TObject); > begin > pnlLeft.Width := trunc(self.width /2); > end; > > > > Walter > |
This web page was last updated on Thursday, December 5, 2024 at 09:15 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |