|
|
|
|
|
- Table cell
- Initializing and reinitializing of the Modified property
- Limitations
Modified (Property) In french: Modifié
The Modified property is used to determine if a control or group of controls has been modified by the user (keyboard or mouse input).
// If the "EDT_CustomerName" control was modified by the user, // changes are saved in the bound data file IF EDT_CustomerName.Modified = True THEN ScreenToFile() HModify(Customer) END Syntax
<Result> = <Element used>.Modified
<Result>: Boolean - True 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.
- False otherwise.
<Element used>: Control name or window name Name of the element (control, group of controls or window) to use. Remarks Table cell To determine if a table cell has been modified, simply use the Modified property in the exit code of the column: IF [<Column name>].Modified THEN ... Initializing and reinitializing of the Modified property The Modified property is set to False when the window is opened. The Modified property is reset to False only through programming (<Object name>.Modified = False). Tip: When modifying a control through programming, you can directly manipulate the Modified property of the window. A validation process can easily check whether a modification was performed (in this case, there is no need to evaluate the Modified property on each window control). Limitations The Modified property 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|