Home > comp > gb > observer > _new 
  [3.0]
 fr de es it nl pl pt pt_BR mk sq ca ar fa vi ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration  
Documentation
History
 
NEW Observer (gb)
Syntax
DIM hObserver AS Observer

hObserver = NEW Observer ( Object AS Object [ , After AS Boolean ] )
Creates a new observer on the specified object.

If After is set to TRUE, then the observer will catch events after they have been processed. In that case, it will not be able to cancel them.

Do not forget to put:

AS "event name"
after the instanciation, to catch the events intercepted by the observer.