Progress
ADM 2 Reference
enableObject (visual.p)
Enables an object. Includes all components except RowObject fields. They are enabled using EnableFields().
Parameters: NoneReturns: Nothing (procedure)Notes:
- enableObject is invoked from initializeObject to enable a SmartObject (different from when a SmartObject’s RowObject fields are enabled with enableFields).
- enableObject can be customized when a SmartObject is enabled, perhaps for initialization that is needed each time a SmartObject is enabled, or to enable other related SmartObjects.
- Note that enableObject and disableObject are not completely opposite in their effects. disableObject always invokes disableFields because it is not meaningful to have a SmartObject disabled while RowObject fields inside it are enabled. On the other hand, enableObject does not invoke enableFields; this is done separately to allow enabling of a SmartObject’s RowObject fields independently of other basic widgets it contains.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |