Release 10.1A: OpenEdge Development:
ADM Reference

> ## initializeObject

> Procedure used for SmartPanel-specific initialization.

> Location: panel.p

> Parameters: None

> Notes:

> - A SmartPanel is set to the appropriate state depending on its Navigation–Target or Update–Target. A Navigation SmartPanel retrieves the QueryPosition property of its Navigation–Target to determine which buttons to enable. These QueryPosition values map to the value of the PanelState property that is set in the SmartPanel:

> - FirstRecord — maps to first.
> - LastRecord — maps to last.
> - NotFirstOrLast — maps to enable–all.
> - NoRecordAvailable — maps to disable–all.
> - An Update Panel retrieves the RecordState property of its Update–Target to do the same thing. These changes to the PanelState property are interpreted by the setButtons procedure in the SmartPanels:

> - NoRecordAvailable — maps to add–only.
> - NoRecordAvailableExt — maps to disable–all.
> - RecordAvailable — maps to initial.

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