Tuto WINDEV Mobile 25
156 Part 5: Android and iOS: Developing an application 6. In the "UI" tab, specify the dimensions of this internal window: • Width: the one that suits you. It must be sufficient to entirely see the controls of drop-down menu. In theory, the sliding menu must be narrower than the window above which it is displayed (260 for example). • Height: This height must correspond to the height of window above which the sliding menu is displayed. In our case, this height is set to 248. 7. Specify a background color for the internal window in the "Style" tab. Indeed, for the menu to be transparent, the parameter "Background color of internal window" must correspond to "White". 8. Validate. 9. Save the window by clicking among the quick access buttons. ▶ To add the menu options into the internal window: 1. Open the "WIN_Menu" window previously created (double-click on its name in the "Project explorer" pane, for example). 2. Copy the controls found in the "WIN_Menu" window to the "IW_MLZ_Options" internal window: • Select all elements found in the "WIN_Menu" window (Ctrl + A). • Copy the elements (Ctrl + C). • Display the "IW_MLZ_Options" window (click its name in the bar of opened documents). • Paste the elements (Ctrl + V). 3. Via the selection handles, modify the width of Multiline Zone control so that it is entirely displayed in the internal window. Via the anchors, all controls found in the Multiline Zone control are also modified. You get the following window:
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==