.. _Override Functions Using the Dialog:

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 :kbd:`Ctrl+Space` in the Editor and select `Override Methods`.

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

.. figure:: ../../images/vlogdt-override-function-window.png
 
The empty body of the overridden functions or tasks will be placed inside the class body at the cursor position:

.. figure:: ../../images/vlogdt-override-function-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.

.. figure:: ../../images/vlogdt-override-function-extern.png

.. tip:: 

    You can change the method signature by editing the :ref:`Method Code Templates`
