ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
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
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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 website.
  • 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 IFrame field description window (select "Description" from the field context menu).
  2. On 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 page of the website". 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.
  • When action is taken: "Send nothing to server"..
Remark: If the target of the IFrame field does not belong to the current site, the Internet browser will not allow you to modify this target (for security reasons).
Minimum version required
  • Version 10
Comments
Click [Add] to post a comment

Last update: 10/04/2024

Send a report | Local help