PreviewOverlay Controls

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
Ramzi
User
Posts: 16

PreviewOverlay Controls

Post by Ramzi »

Hello,
is its possible to hide some fields on the 'Table/Child' PreviewOverlay ? while they are visible at the child table.

Ex. Child Table has the following fields : Field-A Field-B Field-C Field-D but on PreviewOverlay I want to show only Field-A Field-B,

is its possible also to change the font size on PreviewOverlay ? but not the tables, so more fields can fit?

What are the keywords/variables/parameters etc.. used to control this PreviewOverlay?

Thanks


mobhar
User
Posts: 11734

Post by mobhar »

Simply put the following code in "Page_Load" server event, under this location: "Server Events" -> "Table-Specific" -> "Preview Page":

// for example:
$this->Field-C->Visible = FALSE;
$this->Field-D->Visible = FALSE;

(View the generated script to check the exact field object names which contains alphanumerical characters and underscores only, no hyphens.)


Ramzi
User
Posts: 16

Post by Ramzi »

Dear mobhar, it works perfect, exactly what I wanted, thanks for your continuous help.


Post Reply