Tuto WINDEV Mobile 25
Part 5: Android and iOS: Developing an application 155 Using a sliding menu In several mobile applications, the menu does not correspond to a "static" window. It corresponds to a sliding window displayed via an option of Action Bar and/or via a window swipe. We are going to modify the "WIN_List_of_products_Advanced" window in order to add a "sliding menu". This menu will be using the Multiline Zone control of "WIN_Menu" window that was created beforehand. ▶ To create a sliding menu, we are going to: • Create an internal window. This internal window will contain the menu options. • Modify the "WIN_List_of_products_Advanced" window to display the menu. Remark An internal window is a simple window with no Action Bar and no toolbar. An internal window is used to easily include a set of controls in another window. ▶ To create the internal window containing the menu: 1. Click among the quick access buttons. The window for creating a new element is displayed: click "Window" then "Internal window". 2. The internal window is automatically opened in the editor. 3. The window for saving an element is displayed. Type the name of internal window: "IW_MLZ_ Options". 4. Validate. 5. Display the description window of internal window ("Description" from the popup menu).
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==