Progress
AppBuilder
Developer’s Guide


Modifying Layouts–Layout Inheritance

In general, if you make a change to the master layout, such as adding a button, the AppBuilder automatically adds the same button to all of the other layouts in the application. Similarly, if you change the size (or other property) of a widget in the master layout, that change is also reflected in the other layouts in the application. This process of automatically passing on the master layout’s characteristics to alternate layouts is called layout inheritance.

Within each alternate layout, you can explicitly override inheritance on a property-by-property basis for each widget. You can do this by manipulating the widgets or by changing their properties. For example, if you change the color of a button in an alternate layout, it disinherits that property from the master. No matter how you change the color of the button in the master, the alternate layout is unaffected, and vice versa.

NOTE: Not all properties can be disinherited. Some properties can only have one value for all layouts. Such properties are insensitive in the widget’s property sheet and cannot be changed.

You can also override layout inheritance on a widget-by-widget basis by inserting a widget into an alternate layout or by removing a widget from the alternate layout.

You can re-establish layout inheritance for a widget on a property-by-property basis. To do this, access the widget’s advanced property sheet and choose the Sync with Master button. For more information, see the "Re-establishing Layout Inheritance" section in this appendix.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095