Set EventMethode in Script

Yes, you can use events but:

  1. Events in scripter are set using the method name as string. For example:
LoGfKopieren.OnAfterCopyPosition := 'OnAfterGfCopyPositionX';
  1. You have to register the event type in advance so scripter know about it.

Some examples: