Tuto WINDEV Mobile 25
198 Part 6: Windows Mobile application 5. Reorganize the controls in the window. Respect the following order: "Photo", "Name", "Price", "Quantity", "Bar code", "Reorder date", "Description". 6. We are going to view the tab order in the window: press the F5 key. The numbers that are displayed represent the tab order in the window. Press the F5 key again to make the numbers disappear. The tab order is automatically adapted to the order of controls in the window. 7. Save the window (Ctrl + S). ▶ Run the window test ( among the quick access buttons). The window is displayed with empty controls. ▶ Close the test window to go back to the editor. ▶ To display the product data: 1. Display the WLanguage events associated with the window: • Perform a right mouse click in the area beside the window. • Select "Code" from the popup menu that is displayed. • The code editor appears. 2. Enter the following code in the event "End of initialization of WIN_Product_form": FileToScreen() FileToScreen is used to display in the controls the data found in the data file, for the current record. 3. Close the code window (click X at the top right corner of code editor). 4. Save the window.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==