![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 8 of 8 total |
![]() |
Wed, Jul 1 2015 11:55 PM | Permanent Link |
Steve Gill | I'm not sure if this has been answered before. I seem to recall something similar was discussed in the past but I couldn't find it when searching.
I have a project where a form's height is higher than what will fit on the screen. It works fine in the EWB IDE, but when viewed in a browser the bottom half of the form/page is cut off and there's no way to view it unless I zoom out. The browser's vertical scroll bar doesn't appear. Does anyone know what I need to do to make sure the whole page can be viewed? Thanks. = Steve |
Thu, Jul 2 2015 12:09 AM | Permanent Link |
Steve Gill | It might actually be a issue with Firefox because I resized the browser and the scroll bars suddenly appeared.
![]() = Steve |
Thu, Jul 2 2015 12:13 AM | Permanent Link |
Steve Gill | Actually with all my fiddling around trying to get it to work I had forgotten I added this line to the OnShow event:
Application.Surface.Scrollbars := sbVertical; So it was a combination of adding this line AND resizing the browser Window. = Steve |
Thu, Jul 2 2015 3:37 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Steve,
<< It works fine in the EWB IDE, but when viewed in a browser the bottom half of the form/page is cut off and there's no way to view it unless I zoom out. The browser's vertical scroll bar doesn't appear. Does anyone know what I need to do to make sure the whole page can be viewed? >> From the example applications: procedure TMainForm.MainFormCreate(Sender: TObject); begin Application.ViewPort.OverflowY:=otAuto; <<<< Vertical scrollbar for the browser with Application.Surface do begin Constraints.Min.Height:=(Self.Height+40); Background.Fill.Color:=clElevateFillGray; end; end; The sample application forms are set up to be centered (Layout.Position=ptCenter), but that doesn't really matter. Tim Young Elevate Software www.elevatesoft.com |
Thu, Jul 2 2015 3:39 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Steve,
<< It might actually be a issue with Firefox because I resized the browser and the scroll bars suddenly appeared. ![]() That's an EWB bug - it isn't triggering a re-layout when first initialized, which is preventing the scroll bars from appearing. However, your solution is in my previous reply. IOW, don't enable the scrollbars on the application surface if you want native browser scrollbars - use the application viewport overflow properties instead. Tim Young Elevate Software www.elevatesoft.com |
Fri, Jul 3 2015 12:32 AM | Permanent Link |
Steve Gill | Thanks Tim. I added your code as suggested but something weird is happening. If I move the mouse cursor away from the form and into the surface background area, I get a busy cursor and several blank information message dialogs.
= Steve |
Fri, Jul 3 2015 11:20 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Steve,
<< Thanks Tim. I added your code as suggested but something weird is happening. If I move the mouse cursor away from the form and into the surface background area, I get a busy cursor and several blank information message dialogs. >> Please email me the project that is doing this, and I'll take a look. Most likely there's something in an OnSize event handler that is causing problems. Tim Young Elevate Software www.elevatesoft.com |
Sun, Jul 5 2015 12:50 AM | Permanent Link |
Steve Gill | << Please email me the project that is doing this, and I'll take a look. Most
likely there's something in an OnSize event handler that is causing problems. >> Emailed. Thanks. ![]() = Steve |
This web page was last updated on Wednesday, August 14, 2024 at 03:12 PM | Privacy Policy![]() © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |