Developer's Guide :: Pages
From RadPHP XE2 Documentation
The page component represents an HTML document, and the purpose of this component is to hold and render all controls inside and also to provide the required event handlers in which you write the functional code.
A page must always descend from Page, you can also inherit from DataModule, but that's another story, let's concentrate on Pages.
Here is a basic example on how to use a Page
<?php require_once("rpcl/rpcl.inc.php"); use_unit("forms.inc.php"); class Index extends Page { } $index=new Index(); $index->Caption="Title of the page"; $index->show(); ?>
If you run this code, you will get an empty document, with the title you have setup. There is a lot of properties you can use with the Page component, checkout the reference for it on RPCL Page Reference