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"
POPUP_FORM.Animate(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:
<Popup>.AnimateDisplays a popup in a page cell.
<Popup>.CloseHides a popup displayed in the page via <Popup>.Display.
<Popup>.DisplayDisplays a popup in a page with a DDW effect (Dim Disabled Windows).
Remarks:

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 23
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help