The module toolbox contains icons for tools commonly used in the current module.
When you switch into a module, that module’s toolbox icons replace those of the previous module. You can access the module toolbox using the following statement:
toolbox = getAFXApp().getAFXMainWindow().getToolbox()