Child pages
  • Inheritance Model

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Form inheritance is to extend a form with a other form this will give the original form all the methods/variables/elements/properties/parts of the extending form.
The inheritance is not limited to 1 level, for example if you have form a, form b and form c you can extend form b with a and c with b form c wil then have all the methods/variables/elements/properties/parts of form a, b and c.

!form_a.jpg\|border=1,height=400!of form a, b and c.

Overwrite methods

On the child form you will inherit all the methods of the super form. You can overwrite this method, when you do this servoy will generate a method for you with a call of the super in it.

...