Tuto WINDEV 25

248 Part 4: Full application with data 3.  The numbers are modified and they now appear in order. 4. Press the F5 key again to hide the numbers. 5. Save the window ( or Ctrl + S). Non-modal opening of window The window for email management will be opened from the "WIN_Menu" window. Its opening mode is specific because this window must not prevent the information displayed in the "WIN_ Menu" window from being viewed. ▶ To open the "WIN_Sending_an_email" window from the "WIN_MENU" window: 1. Open "WIN_Menu" in the editor (double-click its name in the "Project explorer" pane, for example). 2.  In the editor, expand the "Menu" option and select "Exit". 3. Display the popup menu of "Exit" option (right mouse click) and select "Add before". 4.  Type the option caption ("Send an email") and validate. 5. Select the "Exit" option again. 6. Display the popup menu of "Exit" option (right mouse click) and select "Insert a separator". 7. Display the popup menu of "Send an email" option (right mouse click) and select "Code". 8. Write the following WLanguage code: // Opens the window for sending emails OpenChild(WIN_Sending_an_email) In this WLanguage code, OpenChild is used to open the window in "non-modal" mode: the user will be able to write an email and to see the information displayed in the main window at the same time.

RkJQdWJsaXNoZXIy NDQ0OA==