Home >Web Front-end >JS Tutorial >Javascript example tutorial (19) Using HoTMetal (7)_Basic knowledge

Javascript example tutorial (19) Using HoTMetal (7)_Basic knowledge

WBOY
WBOYOriginal
2016-05-16 19:22:24951browse
Using javascript in HoTMetal

7. How to identify all predefined macros

HoTMetaL PRO 6.0 defines several internal events that can be triggered Corresponding macro. These macros are:

OnAction: This macro is triggered when the corresponding menu is clicked;

On_Application_Activate: When HoTMetaL changes after loading from disk or after you run other applications When in the active state, this macro is triggered;

On_Application_Deactivate: This macro is triggered when you run other applications;

On_Application_Open: When you open HoTMetaL, this macro Triggered;

On_Application_Close: When you close HoTMetaL, this macro is triggered;

On_Before_Document_Save: When you save a file, this macro is triggered; This macro is saving the file Completed before being run.

On_Before_Document_SaveAs: This macro is triggered when you SaveAs (save as) a document; this macro is run before SaveAS is completed.

On_Document_Activate: This macro is triggered when the document is activated;

On_Document_Deactivate: This macro is triggered when the document is not activated;

On_Document_Open_Complete: When the user This macro is triggered when the document file is opened and the opening operation is completed;

On_Document_Close: This macro is triggered when you close the document;

On_Document_Save: When you save the document , this macro is triggered;

On_Document_SaveAs: This macro is triggered when you SaveAs document;

On_Update_UI: This macro is triggered when the UI is updated.
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn