Tuto WINDEV 25
78 Part 2: The WLanguage basics ▶ To create the edit control where the result will be displayed: 1. On the "Creation" pane, in the "Usual controls" group, expand "Edit" (click the arrow). The list of available edit controls is displayed. In the search box at the top of the list, enter "Currency". Select the "Currency Edit" control and position the control in the window. 2. Type the control information: right-click the control and select "Description". • Specify the control name: "EDT_PriceIOT". • Modify the caption to "Price IOT". 3. The result displayed in this control must not be modifiable. Click the "UI" tab and choose "Read-only" for the initial status. 4. Validate. 5. Save the window. ▶ To create the Combo Box control for VAT selection: 1. On the "Creation" pane, in the "Usual controls" group, click "Combo box" then click the position where the control will be created in the window (beside the "Price BT" control). 2. The Combo Box control creation wizard for is displayed. This wizard is used to define the main control characteristics. 3. Select "Fill the combo box by programming or enter a list of values". 4. Display the next step of the wizard. 5. Keep the default options. Display the next steps. 6. In the "Initial content" step, type the list of possible VAT values: • 5.5 • Press the Enter key. • 10 • Press the Enter key. • 20.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==