DeleteCommand method
Applies to |
---|
This method deletes a command and removes it from the user interface of a ReadSoft Invoices module. Any toolbar icons and shortcut keys for the command are also removed.
Built-in commands that you can delete using DeleteCommand in these ReadSoft Invoices modules:
If you want to re-add a deleted command, you must close and restart the ReadSoft Invoices module.
Syntax
object.DeleteCommand( CommandToDelete As String)
Part |
Description |
---|---|
object |
An expression evaluating to an object of type Application, InterpretApp, VerifyApp, ManagerApp, ScanApp, OptimizerApp, TransferApp. |
CommandToDelete |
The name of the command to remove. |
Call Application.DeleteCommand("File-Save")
Error output |
Description |
---|---|
CommandNotFound |
The command specified by CommandToDelete is neither a built-in command nor an added command. |
Related topics