ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Popup control
  • Overview
  • Handling the Popup control through programming
  • Available functions
  • Available properties
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
The popup being a control of the page, you have the ability to access:
  • the page controls from the popup.
  • the popup controls from the page. For example:
    EDT_EditName = POPUP_MyPopup.EDT_Info_to_enter
    The page variables are accessible in the events associated with the Popup control. For example, the following code is used to display a Form popup on the element selected in a Looper control:
// Browser click code on LOOP_Products
POPUP_FORM.IMG_PRODUCT = FolderWeb + "ui/empty.gif"
PopupAnimate(POPUP_FORM, CELL_PAGE, animScrollLeft, 25)
PRODUCTID = ATT_PRODUCTID
ExecuteProcess(POPUP_FORM.ZONE_HEADER_POPUP.BTN_Load, trtClick)
Handling the Popup control through programming

Available functions

Several functions are specific to the management of Popup controls:
PopupAnimateDisplays a popup in a page cell.
PopupCloseHides a popup displayed in the page via PopupDisplay.
PopupDisplayDisplays a popup in a page with a DDW effect (Dim Disabled Windows).
Remarks:
  • CellDisplayDialog and CellCloseDialog are compatible with Popup controls. When Cell controls are transformed into Popup controls, the existing code remains compatible and functional.
  • MenuAddPopup is used to transform a menu option so that it opens a Popup control.
  • A Popup control can be fixed by PopupDisplay.

Available properties

For a complete list of WLanguage properties that can be used with a Popup control, see Properties associated with Popup controls.
Minimum version required
  • Version 17
Comments
Click [Add] to post a comment

Last update: 01/26/2023

Send a report | Local help