Tuto WINDEV 25
Part 4: Full application with data 165 ▶ Let’s run a window test: 1. Run the window test ( among the quick access buttons). 2. Click the "Finding customers" tab pane if necessary. 3. Select a value in the Combo Box control and click on "Exact-match Search". 4. The result is immediate. 5. Close the test window to go back to the editor. Generic search We are now going to perform a generic search. Instead of searching for the exact value that was entered, we are going to search for all the elements that start with the value entered. To perform this search, we will create a Edit control to enter the name you are looking for, and a Button control to launch the search. ▶ To create the search control: 1. Display (if necessary) the "Finding customers" pane tab of "WIN_Menu" in the editor. 2. Create an edit control: on the "Creation" pane, in the "Usual controls" group, click . 3. In the window, click below the Combo Box control ("Sought customer"). The edit control is created. 4. This control is named "EDT_Sought_Name" and its caption is "Sought name".
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==