Page History
...
Do not confuse this property with the CellText property as these two properties are not always the same. The CellText property is not updated until the user commits his/her changes by leaving the cell, whereas the EditText property is updated as the user types.
...
Setting this property does not affect the Modified property, so be sure to set the Modified property to 1 if you want the changes to be committed.
Example
Code Block |
---|
// Set the current edit content of the currently edit cell Set_Property(@Window:".OLE_EDITTABLE", "OLE.EditText", "Test") // Get the content of the currently edit cell CurrEditText = Set_Property(@Window:".OLE_EDITTABLE", "OLE.EditText") |