Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() ![]() ![]() |
Siebel Tools Reference > Special-Purpose Applets and Controls > Pop-Up Windows >
Configuring Pop-Up Applets Launched from Applets
This is the typical scenario in which clicking a button on an applet invokes a pop-up window for editing a set of values, or browsing through a list, and so on.
- Select the applet from which to launch the pop-up window.
- Create a control for the applet.
- Set the Method Invoked property of the control to ShowPopup.
- Expand the Control object, and then select the Control User Prop object.
- Create three control user properties:
- Popup. Set to the applet you want to appear. This applet must use a class derived from CSSSWEFramePopup.
- Mode. Optional. Mode of the applet, either Base or Edit. If not specified, the default is Base.
- Popup Dimension. Optional. Dimension of the pop-up window. The format is Height X Width, for example 500 X 800. If not specified, the dimensions will default to the value specified in the applet's HTML Popup Dimension property. If that is not specified, the pop-up window dimensions will default to 600 X 600.
- Create the pop-up applet.
- Add controls to the pop-up applet:
- Cancel. Set the Method Invoked property of the control to CloseApplet or UndoRecord. This will close the pop-up applet when Cancel is clicked.
- OK. Set the Method Invoked property of the control to CloseApplet to close the applet after you finish processing other calls within your invoked method. This will close the pop-up applet, and then refresh the parent applet in the main browser window.
Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() ![]() ![]() |
Siebel Tools Reference Published: 20 October 2003 |