Tuto WINDEV Mobile 25
Part 6: Windows Mobile application 197 Creating the form window We are now going to create a new window used to display the product form. Then, this window will be started from the list of products to display the details of selected product. Creating the window ▶ To create the form window: 1. Create a new blank window. Click among the quick access buttons. The window for creating a new element is displayed: click "Window" then "Window". 2. In the wizard that starts: • Select the "Standard" tab. • Choose "Blank". 3. Validate the wizard. 4. The window for saving an element is displayed. Specify the window title: "Product form". Its name is automatically proposed: "WIN_Product_form". Validate. Creating controls ▶ To create an edit control: 1. Display the "Analysis" pane if necessary (on the "Home" pane, in the "Environment" group, expand "Panes" and select "Analysis"). The different data files described in the "Pocket Managing Products" analysis appear in the pane. 2. With the mouse, select the items of the "Product" data file displayed in the pane (except for the "ProductID" item). 3. Drag and Drop these items to the window that was just created. 4. Resize the controls ("Name", "Bar code", "Reorder date" and "Description") so that they become visible in the window: • Select the requested control. • Use the sizing handles (blue squares) to resize the control.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==