PC SOFT

WINDEV的在线文档

  • Table cell
  • Initializing and re-initializing the ..已修改 property
  • Limits
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系: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本地访问

..已修改 is used to find out whether a control (or a group of controls) was modified by the user (with the keyboard or with the mouse).

18版本和更高版本
WinDevWindows Store apps This property is now available in Windows Store Apps mode.
18新版本
WinDevWindows Store apps This property is now available in Windows Store Apps mode.
WinDevWindows Store apps This property is now available in Windows Store Apps mode.
例子
// If the "EDT_CustomerName" control was modified by the user,
// the modifications are saved in the linked file
如果EDT_CustomerName..已修改=,那么
屏幕填充到数据库表()
H修改Customer
结束

语法
<Result> = <Object Name>..已修改
<Result>: Boolean
  • if:
    • the specified control was modified by the user,
    • the option "Store the last value entered" was selected by the user in the popup menu of the control,
    • at least one control belonging to the specified group of controls was modified by the user,
    • at least one control belonging to the specified window was modified by the user.
  • otherwise.
<Object Name>: Character string (with or without quotes)
Name of the object (control, group of controls or window) to use.

注意

Table cell

To find out whether a table cell was modified, ..已修改 must be used in the exit code of the column as follows:

IF [<Column Name>]..已修改 THEN ...

Initializing and re-initializing the ..已修改 property

..已修改 is initialized to when the window is opened.

..已修改 is reinitialized to by programming only (<Object Name>..已修改 = False).

Tip: When modifying a control by programming, directly modify the ..已修改 property of the window. A validation process can easily check whether a modification was performed (in this case, there is no need to check ..已修改 on each window control).

Limits

..已修改 cannot be used on:
  • a Shape control,
  • an option in a Check Box or Radio Button control,
  • a menu,
  • an element in a TreeView control,
  • a tab pane,
  • a Web Camera control,
  • a Conference control,
  • a Splitter control.