Release 10.1A: OpenEdge Development:
Progress Dynamics Advanced Development

> ## Modifying the Object Generator defaults for a dynamic object

> A slight digression is needed to get a reasonable looking dynamic viewer. If you run the dynamic window you just created, you might see that all the `Customer` fields in the viewer are in a single column, making for a very tall and awkward-looking viewer. This is a result of the viewer settings you chose when you ran the Object Generator. You can edit the viewer in the AppBuilder to arrange the fields as you want them, but it is still helpful to improve the default layout so that there is less to change later on.

> | To reduce the number of fields in a column:

> 1. Return to the Object Generator by choosing Build Object Generator.

> 2. Set the OE Product Module.

> 3. Uncheck the Data objects toggle box. Existing SDOs in your selected module are displayed in the browse.

> 4. Select just the Customer SDO in the browse, and activate the V iewers toggle box, as shown:

> 5. Choose the Viewers folder tab. Choose the OE Product module and set the Max fields per column to a smaller number, perhaps 6 or 8, as shown:

> 6. Press the Start button to re-create the dynamic viewer.

> When the generation is complete, you have a new dynamic `Customer` viewer with three columns, a better default appearance for most windows. Figure 1–3 shows how this viewer will look when you run the completed example later on.

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