Page History
...
If you set this value to 1 or 2, note that all events will be cancelled by default -- even events you do not qualify. Therefore, it is recommended that you process all "pre" events when setting this property to 1 or 2.
Example
Code Block |
---|
// Default the Cancel property to 1 Set_Property(@Window:".OLE_EDITTABLE", "OLE.DefaultCancelBehavior", 1) // Default the Cancel property to 2 Set_Property(@Window:".OLE_EDITTABLE", "OLE.DefaultCancelBehavior", 2) |
...