PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Control in a dynamic page
  • Creating an internal page and associating it with a control
  • Create an internal page
  • Creating an "Internal page" control
  • Notes
  • Differences between an Internal Page control and a page template
  • Limitations
  • Refactoring
  • Creating an internal page from a page (and conversely)
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview

Control in a dynamic page

The "Internal Page" control is used to include a page (and its code) in a control of another page.
At run time, the page to merge ("Internal Page") will be dynamically merged to the host page.
The "Internal page" control enables you to dynamically share the same section of the interface in one or more sites. The page to merge (internal page) can also come from a component.
Caution: Do not confuse "Internal Page control" and "Internal page": the "Internal page" control is a type of control while the "Internal page" is a type of page.
Creating an internal page and associating it with a control

Create an internal page

To create an internal page:
  1. Select "File .. New .. Page".Click among the quick access buttons. Click "Page" in the wheel that is displayed. The wizard for page creation starts.Click among the quick access buttons. The window for creating a new element is displayed: click "Page" then "Page". The wizard for page creation starts.
  2. Click the "Internal Page" tab and select "Blank".Click "Internal Page" and select "Blank".
  3. Validate to create the internal page.
An internal page corresponds to a specific type of page. The internal page contains no border, no title bar and no background image. It is intended to be displayed in an "Internal page" control.
This type of page is also called "Source page".

Creating an "Internal page" control

To create an "Internal page" control:
  1. In the page editor, click (or select "Insert .. Control .. Internal Page control").On the "Creation" pane, in the "Containers" group, click "Internal page".
  2. In the target page, click the position where the control must be created. The control appears in creation mode.
To display the control characteristics, select "Description" from the popup menu of control. This allows you to select the internal page that will be displayed in the "Internal Page" control when initializing the target page.
Notes

Differences between an Internal Page control and a page template

  • Using an "Internal page" control is recommended for teamwork. Indeed, when modifying an internal page, the pages that is using the internal page are not refreshed (unlike the templates).
  • Using an "Internal page" control is recommended if the controls to display in the target page must be grouped. The templates are used to define the layout of the page. With the templates, the controls found in the template can be used anywhere in the page.

Limitations

  • No internal page coming from a component can be used in a static page. Only the internal pages of the project are allowed.
  • PHP The same internal page cannot be used twice in the same page.

Refactoring

WEBDEV allows you to automatically create an internal page and an Internal Page control from a selection of controls.
  1. Select the controls that must be used in the internal page.
  2. Select the "Control .. Refactoring .. Create an internal page control with the content" option.On the "Modification" pane, in the "Transformations" group, expand "Refactoring and swapping" and select "Create an internal page from the selection".

Creating an internal page from a page (and conversely)

WEBDEV allows you to create an internal page from a page (and conversely).
To create an internal page from the current page, select "File .. Save the page as internal page".To create an internal page from the current page, on the "Home" pane, in the "General" group, expand "Save" and select "Save the page as an internal page".
To create a page from the current internal page, select "File .. Save the internal page as page".To create an internal page from the current page, on the "Home" pane, in the "General" group, expand "Save" and select "Save the internal page as a page".
Minimum required version
  • Version 10
Comments
Click [Add] to post a comment