4D v13

Form inheritance

Home

 
4D v13
Form inheritance

Form inheritance    


 

 

In addition to the manipulations explained in the video, you should also note that:

  • Theoretically, there is no limit for inheritance; a form can be inherited from another form that is itself inherited from yet another form, and so on.
  • A parent form is a full-fledged form. It can consist of several pages including a page 0. Within the framework of inheritance, only pages 0 and 1 of the parent form are visible on child forms.

Create at least one inherited form:

  • for your list forms
  • another for input forms
  • and a last one for information or settings forms.

In certain cases, you may need for a parent form object to be hidden or only available according to the context or the table concerned.

  • In the case of a button, you can disable it using the DISABLE BUTTON command
  • If you want to hide an object, you can use the OBJECT SET VISIBLE command
  • You can also use the OBJECT MOVE command

 
 

 
PROPERTIES 

Product: 4D
Theme: Form inheritance