UserLoggedIn

UserLoggedIn You can implement a handler named "UserLoggedIn" in your MWScript script. MoneyWorks will send the UserLoggedIn message when a user logs in (network or local). This includes when the current user changes due to Switch User. You can use … Continue reading

Posted in Handlers | Comments Off on UserLoggedIn

Unload

Unload You can implement a handler named "Unload" in your MWScript script. MoneyWorks will send the Unload message when your script is about to be unloaded. This typically happens at logout/close or when the script is deactivated in the script … Continue reading

Posted in Handlers | Comments Off on Unload

Load

Load You can implement a handler named "Load" in your MWScript script. MoneyWorks will send the Load message to your script as soon as it is loaded. This typically happens at login or when the script is activated in the … Continue reading

Posted in Handlers | Comments Off on Load

ExitedCell

ExitedCell (windowRef, listRef, row, column, cellValueString) Analogous to ExitedField for editable list cells.

Posted in Handlers | Comments Off on ExitedCell

ValidateCell

ValidateCell (windowRef, listRef, rowNum, columnNum, cellValueString) Called when a field in an editable list (such as the detail line entry list) is about to be exitted. Row and column numbers are zero-based. IMPORTANT: If you do this you should provide … Continue reading

Posted in Handlers | Comments Off on ValidateCell

ExitedField

ExitedField (windowRef, fieldNameString, fieldValueString) Called when a field has been exitted.

Posted in Handlers | Comments Off on ExitedField

ValidateField

ValidateField (windowRef, fieldNameString, fieldValueString) Called when a field is about to be exitted. Return false if the field value is not acceptable: this will keep the focus in the field. IMPORTANT: If you do this you should provide an explanation … Continue reading

Posted in Handlers | Comments Off on ValidateField

Close

Close (windowRef) Called when a window is closed. Use this to dispose any persistent data you may have created for the window (to "dispose" an array, assign 0 to it).

Posted in Handlers | Comments Off on Close

Cancel

Cancel (windowRef) Called when a window is closed via the Cancel button.

Posted in Handlers | Comments Off on Cancel

After

After (windowRef) Called when a window is closing or when a new record is about to be loaded into it. May not be called if no content was modified.

Posted in Handlers | Comments Off on After