Override Using the Dialog

To override an inherited function or task, in the Editor, right click inside a ‘’class’’ body > Source > Override Methods to open the override methods dialog. Alternatively you can hit Ctrl+Space in the Editor and select Open Override Methods

Select the functions/tasks you want to override and press OK.

../../_images/vlogdt-override-window.png

The empty body of the overridden functions or tasks will be placed inside the class body at the cursor position:

../../_images/vlogdt-override-added-code.png

Select “Insert as extern prototype and implementation” to insert the overridden methods extern prototype at the cursor position and the implementation outside the class body.

../../_images/vlogdt-override-extern.png

Tip

You can change the method signature by editing the Method Code Templates