Tuto WINDEV 25

Part 4: Full application with data 143 2.  The edit controls must increase in width: • Select the 4 edit controls. • Display the popup menu (right mouse click) and select "Anchor". • In the window for defining anchors, select "Width" ( ). • Validate. 3. We are going to test the operating mode of this window in preview: • On the "Modification" pane, in the "Preview" group, click "Preview". • Enlarge the window: the controls follow the enlargement in width. • We must now define the operating mode during the enlargement in height. 4.  The "Description" control can contain a product description that is more or less important. This is the most important window control: it must occupy the maximum available space. Apply an anchor in width and height to it ( ). 5.  The "Price BT" control is automatically bordered by a red line: the window editor signals an anchoring problem. Indeed, if the "Description" control stretches to the bottom, the "Price BT" control must move to the bottom accordingly. 6. Open the anchoring window for the "Price BT" control. The best anchor is automatically proposed: "width and bottom" (a green checkmark is displayed). Select the proposed anchor and validate. 7. We are going to test the operating mode of this window in preview: • On the "Modification" pane, in the "Preview" group, click "Preview". • Enlarge the window: the controls follow the enlargement in width and in height. 8. Close the window preview to go back to the editor.

RkJQdWJsaXNoZXIy NDQ0OA==