...
Code Block |
---|
function newRecord(event) { _super.newRecord(event) city = 'Amersfoort' return } |
Methods that are defined to be private, will not be available for the subforms. Public methods will be available because they are available everywhere. If a method is protected it will be available for the subform but not for other forms.
There are not many limitations to form inheritance. One of the limitations is that if you have an element on the super form, you can not delete it on the child form, if you don't want to see it on your child form you can uncheck the visible
property of the element. Another limitation is that you cannot insert new parts in-between existing ones, new parts can only be added below existing parts.
...