|
|
|
|
|
- Overview
- Handling the Popup control through programming
- Available functions
- Available properties
Handling a Popup control through programming
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:
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|