.. _Override Constraints Using the Dialog:

Override Using the Dialog
=========================


To override an inherited constraint, in the Editor, **right click inside a ''class'' body > Source > Override Constraints** to open the override constraints dialog. Alternatively you can hit :kbd:`Ctrl+Space` in the Editor and select `Override Constraints`.

Select the constraints you want to override and press :guilabel:`OK`.

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

.. figure:: ../../images/vlogdt-override-constraint-added-code.png

Select **"Insert as extern prototype and implementation"** to insert the overridden constraints by placing the extern prototype at the cursor position and the implementation outside the class body.

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

.. tip:: 

    You can change the constraint signature by editing the :ref:`Constraint Code Templates`
