The NJX:XCILIVINGPOPUP control is used to configure certain parameters of a pop-up dialog from inside the running pop-up dialog. The control does not have design-time properties, nor does it raise events.
Two types of pop-up dialogs are supported, browser pop-ups and page pop-ups. Browser pop-ups are controlled by the web browser. To use them, pop-ups must be enabled in the browser settings. Page pop-ups are rendered by Natural for Ajax. To use them, pop-ups need not be enabled in the browser settings.
This control is intended to be used in the page that is opened as a
pop-up dialog. An example for the usage of the control is provided in the
Natural for Ajax demos as program CTRPOP-P
.
The following topics are covered below:
The XML code for the example looks as follows:
<natpage xmlns:njx="http://www.softwareag.com/njx/njxMapConverter"> <njx:xcilivingpopup> </njx:xcilivingpopup > </natpage>
1 XCILIVINGPOPUP 2 HEIGHT (I4) 2 TITLE (A) DYNAMIC 2 WIDTH (I4)
Each element of the structure controls a parameter of the next pop-up dialog to be opened.
Element | Meaning |
---|---|
HEIGHT |
The height of the pop-up dialog. If you specify a value
greater than 0, you also need to specify a value greater than 0 for
WIDTH .
|
TITLE |
The title to be displayed in the caption of the pop-up dialog. |
WIDTH |
The height of the pop-up dialog. If you specify a value
greater than 0, you also need to specify a value greater than 0 for
HEIGHT .
|
To open a pop-up with the default settings, set HEIGHT
and WIDTH
to -1.