AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / Desarrollar una aplicación o un sitio web / Controles, ventanas y páginas / Controles: tipos disponibles / Control Popup
  • Overview of the Popup control
  • Creating a Popup control
  • Create a Popup control
  • Other creation modes
  • Characteristics of Popup controls
  • Description window
  • Handling a Popup control in the editor
  • Window for managing popups
  • Handling the popups associated with a page
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Overview of the Popup control
The Popup control is used to associate a popup with a page. This popup will be displayed from the page into which it is inserted. This popup is used to easily establish a dialog with the user.
Until version 17, this type of dialog was establish via a Cell control.
Using a Popup control allows you to handle the dialog window in the editor like a different element of the page, while being included in the page. Unlike the use of cells, using popups does not affect the page layout in the editor.
Creating a Popup control

Create a Popup control

You can create Popup pages from the page bar:
  1. In the page bar, click "Popup pages".
  2. In the menu appears, click "New popup".
  3. The popup page appears in the editor.
To display the characteristics of the Popup control, select "Description" in the context menu of the control.
Remarks:
  • A page can contain one or more popups. To display the desired popup at runtime, simply use PopupDisplay.
  • A page template can contain one or more popups. The pages that use this template will be able to use these popups.
  • A control template can use one or more popups (a color picker for example).
  • The menu found in a page can use the Popup options. For more details, see Configuring a Context menu.
  • A page can be displayed as a popup using PopupDisplayPage..

Other creation modes

  • Create a popup from an existing cell:
    To create a popup from an existing cell:
    1. Select the desired cell.
    2. On the "Modificación" tab, in the "Transformaciones" group, expand "Refactorización y permutaciones" and select "Cell/Popup Page".
    Note: If the cell is not present in a template and can be overlaid, a context menu option can also be used to transform it into a pop-up window.
  • Create a popup from a set of controls:
    1. Select the desired controls in the page.
    2. Perform one of the following operations:
      • select "Refactoring .. Create a Popup page from the selection" in the context menu.
      • on the "Modificación" tab, in the "Transformaciones" group, expand "Refactorización y permutaciones" and select "Create a Popup page from the selection".
  • Create a popup from the ribbon:
    1. On the "Página" tab, in the "Edición" group, click "Páginas Popup".
    2. In the window that appears, click "New". A new popup page appears in the list of popup pages. Select the page name. Click "Open" to open the popup page in the editor.
    3. The Popup page appears in the editor.
Characteristics of Popup controls

Description window

The description window of the Popup control allows you to define:
  • the different local procedures (server and browser) associated with the popup ("General" tab).
  • the ability to move the popup with the mouse ("UI" tab).
  • the rate of DDW (Dimmed Disabled Window) associated with the control (60% by default)
  • the style of the popup ("Style" tab). You have the ability to select a specific background image for the popup or define a border.
Handling a Popup control in the editor

Window for managing popups

The different popups associated with a page can be identified:
  • in the "Project explorer" pane, with the page details. For example:
  • on the "Página" tab, in the "Edición" group, click "Páginas Popup".
This last option is used to:
  • Create a new popup.
  • Delete an existing popup.
  • Open the description window of a popup.
  • Open a popup in the editor.
  • Rename a popup.

Handling the popups associated with a page

In the editor, the popups associated with the page can be accessed via the "Popup pages" button in the page bar.
Clicking this button opens a preview of the popups associated with the page. You can open the desired popup in the editor by clicking the corresponding preview. A new tab appears for each popup opened in the editor.
Versión mínima requerida
  • Versión 17
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 02/10/2024

Señalar un error o enviar una sugerencia | Ayuda local