The modified state of the current cell in edit mode.

Usage

Set_Property(OLECtrlEntID, "OLE.Modified", Boolean)

Values

[True | False]

Default: False

Remarks

The Modified property can be used to examine whether or not the user has made any changes to the current cell. Furthermore, you can set this property to any state you desire for custom effects. For instance, you may set an otherwise un-modified cell to modified in the interest of ensuring that the BeforeUpdateevent fires.

This property only affects the cell currently in edit mode. If no cell is in edit mode, then setting this property does nothing and getting this property returns FALSE.

Example

// Set the currently edited cell to modified 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.Modified", 1) 

// Get the modified state of the edited cell 
IsModified = Get_Property(@Window:".OLE_EDITTABLE", "OLE.Modified")
  • No labels