|
|
|
|
|
- Overview
- How to?
- Modifying the transparency of windows
- Modifying the opacity of a window in edit
- Changing the window opacity programmatically
WINDEV allows you to apply a transparency coefficient to the windows. This feature is very useful. It is used to display an alert window or a warning window "above" another window, without stopping the current process. Imagine a monitoring application: it is activated by each alert, opening a window that is sufficiently transparent to allow you to read its contents while continuing to see the contents of the covered window, which remains active. Let's imagine how you could track urgent emails, monitor assembly lines, ... Modifying the transparency of windows The transparency of windows can be modified: Modifying the opacity of a window in edit To modify the opacity of a window: - Open the context menu of the window and select "Description".
- Go to the "UI" tab and set the window opacity level:
This level can change from 0 (transparent window) to 100 (opaque window). Changing the window opacity programmatically You can also change the window opacity programmatically with the Opacity property. Example: Display effects when closing a window:
i is int
FOR i = 1 TO 100
WIN_EditWindow.Opacity = 100 - i
END
Close()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|