AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Propiedades WLanguage / Propiedades varias
  • Table cell
  • Initializing and reinitializing of the Modified property
  • Limitations
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
The Modified property is used to determine if a control or group of controls has been modified by the user (keyboard or mouse input).
Ejemplo
// 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
Sintaxis
<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 context 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.
Observaciones

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 field by programming, directly modify the Modified property in the. 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.
Widget Android The Modified property can only be used with the following elements:
  • Button control.
  • Window.
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 30/09/2024

Señalar un error o enviar una sugerencia | Ayuda local