|
|
|
|
|
- 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. Let's imagine a monitoring application: whenever an alert occurs, it opens a transparent window displaying a message while the window found underneath remains active and visible. 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: // Make the window invisible little by little (fade out) i is int FOR i = 1 TO 100 WIN_EditWindow.Opacity = 100 - i END Close()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|