Progress
ADM 2 Reference
enableFields (viewer.p)
Enables fields in the ENABLED-FIELDS list AppBuilder generated preprocessor.
Parameters: NoneReturns: Nothing (procedure)Notes:
- When the frame field is a SmartObject (for example, a SmartField), enableField is run in the SmartObject.The ENABLED–FIELDS preprocessor value contains a list of RowObject fields that are enabled in a SmartDataViewer. At object initialization, this is turned into the EnabledHandles property, which holds a list of the widget handles of the enabled fields in the SmartDataViewer’s frame, for efficient access.
- If no TableIO–Source (or GroupAssign–Source connected to a TableIO–Source for SmartDataViewers) is present or no record is available, the fields are not enabled.
- enableFields republishes the
“
enableFields”
event to handle enabling fields in any GroupAssign targets.- enableFields can be customized when you require additional processing when RowObject fields are enabled. You might want to do this to enable or hide other widgets not associated with RowObject fields.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |