首页 > def > eventhandler 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh eo
前一个  下一个  编辑  重命名  撤销  搜索  管理  
文档  
警告! 该页面未翻译。  参见英文版 
event handler
An event handler is a public method of a class that is called each time an event is raised by an object having an observer of the same class.

The name of the event handler is the "event name" of the object, followed by an underscore, and the name of the event.

The event name of an object is usually the name you define in the development environment, but can be anything you want. This name is attributed at object creation by the NEW instruction.

参见

Events declaration, Event Management