Page Properties

Top  Previous  Next

Pages have properties like controls:

Background: by default a page has a white background.  You can change this color, or even have the color change automatically based on an expression.  Please see the section on Conditional properties for more information.

Scroll page?: normally a page only shows what will fit within the browser window.  If this is checked, then the page "canvas" can be larger than the window and scroll bars will be displayed.  The size of the canvas is determined by the next two parameters:

Page Width / Page Height: determines the size of the page canvas when Scroll page? is checked.

External?: if checked, then the page can be viewed without logging into DAQConnect.  This allows you to embed pages on other websites, or give public access to some of your pages.  Please see the section on Embedding pages for more information.

ID: the page ID can be used in the URL to jump to a particular page, and in embedded pages.  Please see the section on Embedding pages for more information.

Load: event script that is called when the page is first loaded.  Pages are only loaded once they are first accessed.  This means that OnLoad may not be called when you first enter the application.

Show: event script that is called when a page is shown.  Note that if you are using overlaid pages as described below, and this page remains visible while an overlaid page changes, both the OnShow and OnHide events for this page will still be called.

Refresh: event script that is called before the page is redrawn.  The page is redrawn typically once a second, though other events can trigger a refresh.  Since this event occurs often, make sure your script is fast.

Hide: event script called when the page is switched.