Tuto WINDEV 25
Part 4: Full application with data 167 3. Enter a value in the edit control (for example "BEEF") and click "Generic search". 4. The result is immediate. However, if several records correspond to the search, only the first one is displayed. 5. Stop the test and go back to the editor. Browsing forms We are now going to add four Button controls to browse the different records of the "Customer" data file. These controls are in a "recorder" layout. They include an icon and they are used to display: • the first record, • the previous record, • the next record, • the last record. ▶ To create the Button control used to display the first file record: 1. If necessary, display the "Finding customers" Tab control pane in the editor. 2. On the "Creation" pane, in the "Usual controls" group, click . 3. The shape of the control appears under the mouse pointer. Then click the Tab control pane, below "Generic search". The Button control is automatically created. ▶ A skin template will be used to standardize the interface of project windows. This skin template defines the style for all controls found in the windows. A specific style is defined for each recorder Button control. To apply this style: 1. Select the Button control if necessary.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==