WINDEV Concepts
44 Part 1: Main concepts 5.2 Locking/Unlocking a control To lock/unlock a control in the window editor: 1. Select the control in the editor. 2. On the "Modification" tab, in the "Help for edit" group, check/uncheck "Locked". A locked control cannot be selected by clicking and dragging over it. Let’s look at an example with a Tab control. When you click and drag over multiple controls in a tab pane, the Tab control is not automatically selected. All other operations can be performed on a locked control. 5.3 Framing a control To frame a control in the window editor: 1. Select the control in the editor. 2. On the "Modification" tab, in the "Help for edit" group, check/uncheck "Outlined". Framing a control allows you to easily view all the controls of a window (especially Image controls). 6 Anchoring controls The windows of a WINDEV application can be resized at runtime. With the anchoring mechanism, controls are automatically resized and positioned when the window is resized. The anchors of a control include two settings: • the type of anchor : defines the control behavior based on the new window size. The control can move to the left and/or to the bottom, it can be enlarged in width and/or in height. • the anchor rate : defines how much a control stretches or moves. This option allows you to: • keep a control centered horizontally in the window regardless of its size. • proportionally enlarge some controls. These settings can be defined: • in the window editor. • through programming with the WLanguage properties.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==