Release 10.1A: OpenEdge Development:
AppBuilder

> ## Placing and configuring a SmartDataField instance

> Each field in a SmartDataViewer represents a certain data type—an `INTEGER`, for example, or a `DATE`. The SmartDataField object you use as a replacement for such a field must represent the same type.

> | To use a SmartDataField in a SmartDataViewer:

> 1. Choose File Open and select the SmartDataViewer master you intend to modify. Click OK. The master opens in a workspace window, as illustrated here:

> 2. Click on the SmartDataField tool icon in the Object Palette:

> When the Choose dialog box opens, select the appropriate master and click OK.

> Alternatively, right-click on the SmartDataField tool icon in the Object Palette, then select an object from the menu that opens.

> 3. Position your mouse cursor over the field you are replacing, and click to make the replacement. The SmartDataField representation appears in place of the original fill-in:

> 4. Add a static text label, if appropriate. A SmartDataField does not inherit the label of the field it replaces.

> 5. AppBuilder supplies stubs for the `enableField()` and `disableField()` procedures. Open the Section Editor and add additional code to make those procedures work for the particular SmartDataField you added.

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