Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Embarcadero RAD PHP XE2 - PageControls & Scrollbar in browser

Tags:

php

radphp

I'm working with Embarcadero's RADPHP XE2 and a page I want to build has some text at the top (multiple lines) as a label, and below that a PageControl component - despite the page being set to be more than tall enough, when debugging and viewing in Internet Explorer there are no scrollbars and it chops the bottom of the page off.

Has anyone found a work around on this?

like image 318
James Avatar asked Jan 27 '26 18:01

James


1 Answers

I could not get scroll bars in my browser although the page is larger than the window.

Now fixed by adding this

html {
    overflow: -moz-scrollbars-vertical;
    overflow: scroll;
}

to my css file.

To load my css file into the Page I put my tags into a text file including

<link rel="stylesheet" href="/css/mainstyle.css" type="text/css">

then load the text file into the page my putting

$head = file_get_contents('defaulthead.txt');
echo $head;

into the OnShowHead event of the page.

like image 187
Les Kaye Avatar answered Jan 29 '26 08:01

Les Kaye



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!