ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / IFrame control
  • Overview of iFrame control
  • Creating an iFrame control
  • Creating an iFrame control
  • Associating a page with an iFrame control
  • Handling an iFrame control
  • Changing the target of the iFrame control
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview of iFrame control
iFrame is an HTML concept. This concept indicates that an independent Web content is inserted into a specific area of a page. This allows you to display in an HTML page:
  • an HTML page coming from a site other than the current WEBDEV site.
  • an HTML page found in the current site.
Creating an iFrame control

Creating an iFrame control

To create an iFrame control:
  1. On the "Creation" tab, in the "Integration" group, click "iFrame".
  2. Click where you want to create the control in the page. The control appears in the editor.
To view the characteristics of the control, select "Description" in the context menu.

Associating a page with an iFrame control

To associate a page with an iFrame control:
  1. Display the description window of the iFrame control (select "Description" from the popup menu of the control).
  2. In the "General" tab, select the page displayed in the control:
    • a page found in the current project.
    • enter the address of a site or site page (e.g. www.windev.com) as well as the desired security mode.
  3. Validate.
Handling an iFrame control

Changing the target of the iFrame control

The target of an iFrame control can be easily changed via a Button or a Link control.
The target can be changed only if the target of the iFrame control belongs to the current site.
Simply create a Button or a Link control with the following characteristics:
  • Type: "Display a site page". All you have to do is select the page to display.
  • Destination: "In an iFrame XXX". All you have to do is select the name of the iFrame control.
  • During the action: "Do not send anything to the server".
Remark: If the target of the iFrame control does not belong to the current site, the Internet browser does not allow you to modify this target (for security reasons).
Minimum version required
  • Version 10
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help