PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview
  • Handling the Popup control by programming
  • Available properties
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
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 variables of the page are accessible in the processes of the popup. For example, the following code is used to display a Form popup on the element selected in a looper:
// Browser click code on the LOOP_Products looper
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 by programming
==Available functions==Several functions are specific to the management of popups:
Versions 17 and later
PopupAnimate
New in version 17
PopupAnimate
PopupAnimate
Displays a popup in a page cell.
Versions 17 and later
PopupClose
New in version 17
PopupClose
PopupClose
Hides a popup displayed in the page via PopupDisplay.
Versions 17 and later
PopupDisplay
New in version 17
PopupDisplay
PopupDisplay
Displays a popup in a page with a DDW effect (Dim Disabled Windows).
Notes:
  • CellDisplayDialog and CellCloseDialog are compatible with the popups. When cells are swapped into popups, the existing code remains compatible and functional.
  • Versions 18 and later
    MenuAddPopup is used to transform a menu option of a page in order for this option to open a popup.
    New in version 18
    MenuAddPopup is used to transform a menu option of a page in order for this option to open a popup.
    MenuAddPopup is used to transform a menu option of a page in order for this option to open a popup.
  • Versions 18 and later
    A Popup control can be fixed by PopupDisplay.
    New in version 18
    A Popup control can be fixed by PopupDisplay.
    A Popup control can be fixed by PopupDisplay.

Available properties

To find out the entire list of WLanguage properties that can be used with a Popup control, see Properties associated with the Popup control.
Minimum required version
  • Version 17
Comments
Click [Add] to post a comment