PC SOFT

WINDEV的在线文档

  • Overview
  • How to proceed?
  • Modifying the transparency of windows
  • Modifying the opacity of a window in edit
  • Modifying the opacity of a window by programming
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

Transparency of windows

Overview
WinDev gives you the ability 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, ...

How to proceed?

Modifying the transparency of windows

The transparency of windows can be modified:
  • in the window editor.
  • by programming.

Modifying the opacity of a window in edit

To modify the opacity of a window:
  1. Display the window description of the current window ("Description" from the popup menu of the window).
  2. Display the "Style" tab and define the opacity level of the window:
This level can change from 0 (transparent window) to 100 (opaque window).

Modifying the opacity of a window by programming

The opacity of a window can also be modified by programming with ..不透明度.

Example: Display effects when closing a window:

// Make the window invisible little by little (fade out)
i整数型
对于i1直到100
WIN_EditWindow..不透明度=100-i
结束
关闭()