WINDEV Concepts

24 Part 1: Main concepts The margins are used to define the size of each area. You have the ability to enter the values of the different areas or to move the line corresponding to the margin. When resizing the window, only the areas 2, 4, 6, 8 and 5 are resized to occupy the entire space: The 9-slice scaling method is used to manage the behavior of each area when resizing the window. For each area, the image will be enlarged: • by repeating the image that constitutes the area • by stretching the image that constitutes the area. 4.3 Clipped window WINDEV allows you to clip windows. The windows will have custom shapes (window shaped like a circle, a computer, etc.). The window shape is defined by an image. In this image, define the color that will be used to define the transparent areas ("Light magenta" for example). All these areas will be invisible when the window is displayed at runtime: the window will be clipped. Caution : The image borders must be as sharp as possible (no gradient, etc.) to avoid any unexpected display effects when previewing or opening the clipped window. The window clipping is configured in the "Image" tab of the description window. 5 Opening a "popup" window 5.1 Overview WINDEV gives you the ability to open "popup" windows. A "popup" window is a small window that opens above the current window. In most cases, this window allows users to select a value. Then, it returns the value selected by the user to the main window. This window closes automatically when the user clicks inside or outside the popup window. For example: Remark : The characteristics of a popup window are as follows: • by default, it appears below the control that opens it (above or to the left if there is not enough space below the control). The initial position can be changed programmatically. • it closes automatically when it loses focus or when close is called. • only the closing icon is displayed in the title bar of the window (if the title bar was defined in the style).

RkJQdWJsaXNoZXIy NDQ0OA==