Tuto WEBDEV 25

Part 5: Let’s continue the development 221 2. Click the position in the window where you want to create the Button control (for example at the bottom, to the right of the "SEND" Button control). 3. Select the control and press Enter. The caption becomes editable. Type "Cancel" and validate. 4. Display the events associated with the control (F2). 5.  Type the following code in the browser click code: PopupClose() PopupClose is used to close the popup. ▶ This function is a Browser function, run on the browser only: no return to the server is required. Therefore, we are going to modify the type of "Cancel" button consequently: 1. Display the description window of "Cancel" Button control (double-click the control for example). 2.  In the "General" tab, in the "Button action" area, for the "During the action" option, select "Do not send anything to the server". 3. Validate the control description window. Let’s now see how the popup page can be opened.

RkJQdWJsaXNoZXIy NDQ0OA==