Progress
ADM 2 Guide
SmartDataFields
A SmartDataField is an ADM field-class SmartObject that displays a single data field. It is intended for inclusion only in a SmartDataViewer. You typically use a SmartDataField to provide a specially formatted display of the data in a selected field in the SmartDataViewer. To do this, you replace the field on the SmartDataViewer with your SmartDataField. For example, you might develop a SmartDataField that appears as a calendar and use it in a SmartDataViewer to display a date field.
NOTE: The field to be replaced with a SmartDataField must be a RowObject field chosen from a SmartDataObject.Because there is no standard representation for a SmartDataField, it does not have a Wizard and opens initially as a frame. You, as the application developer, determine how to represent your SmartDataField; for example, as a pick list or an ActiveX Control. You can create any user interface as long as it does the following:
For information about creating a SmartDataField and adding it to a SmartDataViewer, see the "SmartDataField Usage Notes" section.
Note that you might want to add any special SmartDataFields that you create to the AppBuilder palette so that you can easily reuse them in your applications. The ADM already includes one special SmartDataField: a SmartSelect. This SmartDataField, which is available from the menu that appears when you right-click on the SmartDataField icon, performs a field lookup. See the "SmartSelects" section.
Table 2–8 lists the SmartDataField files.
Table 2–8: SmartDataField Files File Type Filename Template file Primary include file ADM/Progress Advisor-supported SmartLinks None Instance property dialog box Implementation dependent
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |