In the last example you created a complete, fully functional application simply by dragging and dropping columns from your database. But what happened behind the scenes?
Automatically, DX created an Object Instance Hierarchy of your application, and set resources for all the widgets in your interface.
When you dragged and dropped fields from the Schema Browser to the Browser, DX:
The Interface's Object Hierarchy
By editing widget resources, you can change the behavior of your application. By rearranging the object hierarchy, you can add, delete and subclass the widgets that make up your application.
You can edit any resource by selecting a widget, displaying its resources in the Resource Editor, and changing any resource value.
You can select a widget by:
The easiest way to select a widget is by clicking on its object instance name on the Browser hierarchy. Some widgets (such as the Query and the Database Access widgets) are not represented visually on the interface. As you create your interface, it is likely that the hierarchy will grow too large to be viewed in its entirety on the Browser. The Browser has a Panner/Porthole combination for easy scrolling in two dimensions. Using the slider, you can view the portion of the hierarchy you cannot see.
If the hierarchy is very large, you may prefer using the Browser search field from the Browser View menu.
Note: All DBPak resources are grouped together at the bottom of the resource list.
After you select the widget, you must update the Resource Editor--when you update, that widget's resources and their current values are displayed in the Resource Editor.
Update the Resource Editor in one of the following ways:
Once you update a resource, you can then edit it. To the right of the resource you will see either the current setting or an empty input field. For some resources, toggle buttons (such as for True and False values), or an option menu will be displayed.
DX gives you two way to add DX widgets to your applications, each with slightly different implications:
When you drag data columns from the Schema Browser, DX automatically sets database resources.
When you drag widgets from the Palette, DX doesn't know what database columns you want to use. You will have to set these manually by setting resources in the Resource Editor.
Usually you will mix and match these two methods of creating widgets. Thus you could create a new application window by dragging and dropping a Bulletin Board widget from the Palette. You could then add data fields by dragging and dropping columns from the Schema Browser to the application window.